GatewayInviteCreateDispatchData
https://discord.com/developers/docs/topics/gateway-events#invite-create
Signature
export interface GatewayInviteCreateDispatchDataProperties
12Methods
0No methods.
Properties
channel_id: Snowflake;The channel the invite is for
code: string;The unique invite code See https://discord.com/developers/docs/resources/invite#invite-object
created_at: number;The time at which the invite was created
guild_id?: Snowflake;The guild of the invite
inviter?: APIUser;The user that created the invite See https://discord.com/developers/docs/resources/user#user-object
max_age: number;How long the invite is valid for (in seconds)
max_uses: number;The maximum number of times the invite can be used
target_type?: InviteTargetType;The type of target for this voice channel invite See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types
target_user?: APIUser;The user whose stream to display for this voice channel stream invite See https://discord.com/developers/docs/resources/user#user-object
target_application?: Partial<APIApplication>;The embedded application to open for this voice channel embedded application invite
temporary: boolean;Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role)
uses: 0;How many times the invite has been used (always will be `0`)