Class DiscordInviteRole
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents the role an invite assigns.
public class DiscordInviteRole : SnowflakeObject
- Inheritance
-
DiscordInviteRole
- Inherited Members
Properties
- Color
Gets the color of the role.
- Colors
Gets the colors of the role.
- IconUrl
Gets the icon of the role.
- Name
Gets the name of the role.
- Permissions
Gets the optional permissions of the role.
- Position
Gets the position of the role.
- UnicodeEmoji
Gets the unicode emoji of the role.
Methods
- FromRole(DiscordRole)
Creates a DiscordInviteRole from a DiscordRole.
Operators
- implicit operator DiscordInviteRole(DiscordRole)
Implicitly creates a DiscordInviteRole from a DiscordRole.