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

Properties

id: bigint

Id of the interaction

applicationId: bigint

Id of the application this interaction is for

optional
guildId: bigint

The guild it was sent from

optional
channelId: bigint

The channel it was sent from

optional
member: DiscordenoMember

Guild member data for the invoking user, including permissions

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

optional
message: DiscordenoMessage

For the message the button was attached to

The type of interaction

token: string

A continuation token for responding to the interaction

version: 1

Read-only property, always 1

optional
data: { componentType?: MessageComponentTypes; customId?: string; components?: MessageComponents; values?: string[]; id?: bigint; name?: string; resolved?: { messages?: Collection<bigint, DiscordenoMessage>; users?: Collection<bigint, DiscordenoUser>; members?: Collection<bigint, DiscordenoMember>; roles?: Collection<bigint, DiscordenoRole>; channels?: Collection<bigint, { id: bigint; name: string; type: ChannelTypes; permissions: bigint; }>; }; options?: InteractionDataOption[]; targetId?: bigint; }