Add the poll object to InteractionCallbackData (#3905)

This commit is contained in:
Fleny
2024-10-06 23:40:27 -05:00
committed by GitHub
parent 6f601f0d50
commit 6098d68a9a
+2
View File
@@ -539,6 +539,8 @@ export interface InteractionCallbackData {
flags?: number
/** Autocomplete choices (max of 25 choices) */
choices?: Camelize<DiscordApplicationCommandOptionChoice[]>
/** Details about the poll */
poll?: CreatePoll
}
/** https://discord.com/developers/docs/interactions/slash-commands#interaction-response */