Table of Contents

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 JsonTeamUser
client RestClient

Properties

MembershipState

The membership state of the TeamUser.

public MembershipState MembershipState { get; }

Property Value

MembershipState

Role

The role of the TeamUser in the associated Team.

public TeamRole Role { get; }

Property Value

TeamRole

TeamId

The ID of the Team the TeamUser belongs to.

public ulong TeamId { get; }

Property Value

ulong