Interface GatewayInviteCreateDispatchData

Hierarchy

  • GatewayInviteCreateDispatchData

Properties

channel_id: string

The channel the invite is for

code: string
created_at: number

The time at which the invite was created

guild_id?: string

The guild of the invite

inviter?: APIUser
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_application?: Partial<APIApplication>

The embedded application to open for this voice channel embedded application invite

target_type?: InviteTargetType
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

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)

Generated using TypeDoc