import { InteractionManager } from "https://deno.land/x/higa@0.1.2/deno/client/managers/index.ts";
Constructors
new
InteractionManager(applicationId: string, version: APIVersions)Properties
readonly
version: APIVersionsAPI Version
Methods
createFollowupMessage(interactionToken: string, otpions: ExecuteWebhookOptions): Promise<Message>
Create a followup message to the message that triggered the webhook
createInteractionResponse(): Promise<void>
interactionId: string,
interactionToken: string,
interactionResponse: ,
Sends a response to an interaction
deleteFollowupMessage(interactionToken: string, messageId: string): Promise<void>
Delete a followup message from a message
deleteOriginalInteractionResponse(iterationToken: string): Promise<void>
Delete the original message that was sent by the bot
editFollowupMessage(): Promise<Message>
Edit a followup message from a message
editOriginalInteractionResponse(iterationToken: string, options: ExecuteWebhookOptions): Promise<Message>
Edit the original message that triggered the webhook
getFollowupMessage(interactionToken: string, messageId: string): Promise<Message>
Get a followup message from a message
getOriginalInteractionResponse(interactionToken: string): Promise<Message>
Get the original message that was sent by the user that triggered the interaction