feat(types,rest,bot): Add with_components to webhooks (#4152)

* Add with_components to webhook execute and edit

* Fix query param building

* update comments
This commit is contained in:
Fleny
2025-04-27 09:42:51 +02:00
committed by GitHub
parent a584ffc3a3
commit b3de175f13
5 changed files with 21 additions and 6 deletions
+1 -1
View File
@@ -948,7 +948,7 @@ export type BotHelpers<TProps extends TransformersDesiredProperties, TBehavior e
webhookId: BigString,
token: string,
messageId: BigString,
options: InteractionCallbackData & { threadId?: BigString },
options: InteractionCallbackData & { threadId?: BigString; withComponents?: boolean },
) => Promise<SetupDesiredProps<Message, TProps, TBehavior>>
editWebhookWithToken: (
webhookId: BigString,