Interface IInvite
Represents a generic invite object.
Assembly: Discord.Net.Core.dll​
View Source​
public interface IInvite : IEntity<string>, IDeletable
Properties​
Code​
Gets the unique identifier for this invite.
View Source​
string Code { get; }
Url​
Gets the URL used to accept this invite using Discord.IInvite.Code.
View Source​
string Url { get; }
Inviter​
Gets the user that created this invite.
View Source​
IUser Inviter { get; }
Channel​
Gets the channel this invite is linked to.
View Source​
IChannel Channel { get; }
ChannelType​
Gets the type of the channel this invite is linked to.
View Source​
ChannelType ChannelType { get; }
ChannelId​
Gets the ID of the channel this invite is linked to.
View Source​
ulong ChannelId { get; }
ChannelName​
Gets the name of the channel this invite is linked to.
View Source​
string ChannelName { get; }
Guild​
Gets the guild this invite is linked to.
View Source​
IGuild Guild { get; }
GuildId​
Gets the ID of the guild this invite is linked to.
View Source​
ulong? GuildId { get; }
GuildName​
Gets the name of the guild this invite is linked to.
View Source​
string GuildName { get; }
PresenceCount​
Gets the approximated count of online members in the guild.
View Source​
int? PresenceCount { get; }
MemberCount​
Gets the approximated count of total members in the guild.
View Source​
int? MemberCount { get; }
TargetUser​
Gets the user this invite is linked to via Discord.IInvite.TargetUserType.
View Source​
IUser TargetUser { get; }
TargetUserType​
Gets the type of the linked Discord.IInvite.TargetUser for this invite.
View Source​
TargetUserType TargetUserType { get; }