Table of Contents

Class DiscordTeamMember

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents a member of DiscordTeam.

public sealed class DiscordTeamMember : IEquatable<DiscordTeamMember>
Inheritance
DiscordTeamMember
Implements
Inherited Members

Properties

MembershipStatus

Gets the member's membership status.

Permissions

Gets the member's permissions within the team.

Role

Gets the member's role within the team.

Can be owner, admin, developer or read-only.

As per official spec, owner won't be transmitted via api, so we fake patch it. Thanks discord..

For those interested, here's the pull request with the owner removal: #6384.

For those with access to ddevs internal: Message in #api at Discord Developers .

TeamId

Gets the id of the team this member belongs to.

TeamName

Gets the name of the team this member belongs to.

User

Gets the user who is the team member.

Methods

Equals(DiscordTeamMember)

Compares this team member to another team member and returns whether they are equal.

Equals(object)

Compares this team member to another object and returns whether they are equal.

GetHashCode()

Gets a hash code of this team member.

ToString()

Converts this team member to their string representation.

Operators

operator ==(DiscordTeamMember, DiscordTeamMember)
operator !=(DiscordTeamMember, DiscordTeamMember)