Skip to main content

Struct InviteInfo

Represents information for an invite.

Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public struct InviteInfo

Properties​

MaxAge​

Gets the time (in seconds) until the invite expires.

View Source​
Declaration
public readonly int? MaxAge { get; }

Code​

Gets the unique identifier for this invite.

View Source​
Declaration
public readonly string Code { get; }

Temporary​

Gets a value that indicates whether the invite is a temporary one.

View Source​
Declaration
public readonly bool? Temporary { get; }

ChannelId​

Gets the ID of the channel this invite is linked to.

View Source​
Declaration
public readonly ulong? ChannelId { get; }

MaxUses​

Gets the max number of uses this invite may have.

View Source​
Declaration
public readonly int? MaxUses { get; }