Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class MessageComponentInteraction
extends Interaction
import { MessageComponentInteraction } from "https://deno.land/x/harmony@v2.8.0/src/structures/messageComponents.ts";

Constructors

new
MessageComponentInteraction(
client: Client,
others: { channel?: TextChannel | GuildTextChannel; guild?: Guild; member?: Member; user: User; message?: Message; },
)

Properties

readonly
componentType: MessageComponentType
readonly
customID: string
guildLocale: string
locale: string
message: Message
readonly
values: string[]

Methods

deferredMessageUpdate(): Promise<void>

Respond with DEFERRED_MESSAGE_UPDATE

updateMessage(options: Partial<InteractionMessageOptions>): Promise<void>

Respond with UPDATE_MESSAGE