detritus

CreateInteractionResponseInnerPayloadinterface

Interface RequestTypes.CreateInteractionResponseInnerPayload from detritus-client-rest.

On this page
import { RequestTypes } from 'detritus-client-rest';

RequestTypes.CreateInteractionResponseInnerPayload;
16 propertiessrc/types.ts:552

Properties

allowedMentions?
{ parse?: string[]; roles?: string[]; users?: string[] }
optional
attachments?
{ description?: string; durationSecs?: number; filename?: string; id: string | number; originalContentType?: string; uploadedFilename?: string; waveform?: string }[]
optional
choices?
{ name: string; nameLocalizations?: Record<string, string | undefined>; value: string | number }[]
optional
content?
string
optional
customId?
string
optional
file?
optional
files?
optional
flags?
number
optional
hasSpoiler?
boolean
optional
poll?
{ allowMultiselect: boolean; answers: { pollMedia: { … } }[]; duration: number; layoutType?: number; question: { emoji?: RawEmojiPartial; text?: string } }
optional
title?
string
optional
tts?
boolean
optional
withResponse?
boolean
optional