Class TeamUser
- Namespace
- NetCord
- Assembly
- NetCord.dll
Represents a user as a part of the team indicated by the TeamId.
public class TeamUser : User, IEntity, ISpanFormattable, IFormattable, IEquatable<Entity>, IJsonModel<JsonUser>, IJsonModel<JsonTeamUser>
- Inheritance
-
TeamUser
- Implements
- Inherited Members
Constructors
TeamUser(JsonTeamUser, RestClient)
Represents a user as a part of the team indicated by the TeamId.
public TeamUser(JsonTeamUser jsonModel, RestClient client)
Parameters
jsonModel
JsonTeamUserclient
RestClient
Properties
MembershipState
The membership state of the TeamUser.
public MembershipState MembershipState { get; }
Property Value
Role
public TeamRole Role { get; }
Property Value
TeamId
public ulong TeamId { get; }