Skip to main content
Latest
interface Interaction
Re-export
import { type Interaction } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/deps.ts";

Properties

id: string

Id of the interaction

applicationId: string

Id of the application this interaction is for

The type of interaction

optional
guildId: string

The guild it was sent from

optional
channelId: string

The channel it was sent from

optional
member: InteractionGuildMember

Guild member data for the invoking user, including permissions

optional
user: User

User object for the invoking user, if invoked in a DM

token: string

A continuation token for responding to the interaction

version: 1

Read-only property, always 1

optional
message: Message

For the message the button was attached to

optional
data: InteractionData