Class Invite
- Namespace
- NetCord.Gateway
- Assembly
- NetCord.dll
public class Invite : IInvite, IJsonModel<JsonInvite>
- Inheritance
-
Invite
- Implements
-
- Inherited Members
-
Constructors
Invite(JsonInvite, RestClient)
public Invite(JsonInvite jsonModel, RestClient client)
Parameters
jsonModel
JsonInvite
client
RestClient
Properties
ChannelId
public ulong ChannelId { get; }
Property Value
- ulong
Code
public string Code { get; }
Property Value
- string
CreatedAt
public DateTimeOffset CreatedAt { get; }
Property Value
- DateTimeOffset
GuildId
public ulong? GuildId { get; }
Property Value
- ulong?
Inviter
public User? Inviter { get; }
Property Value
- User
MaxAge
public int MaxAge { get; }
Property Value
- int
MaxUses
public int MaxUses { get; }
Property Value
- int
TargetApplication
public Application? TargetApplication { get; }
Property Value
- Application
TargetType
public InviteTargetType? TargetType { get; }
Property Value
- InviteTargetType?
TargetUser
public User? TargetUser { get; }
Property Value
- User
Temporary
public bool Temporary { get; }
Property Value
- bool
Type
public InviteType Type { get; }
Property Value
- InviteType
Uses
Property Value
- int