fix(RESTPatchAPIWebhookWithTokenMessageJSONBody): add flags (#1354)

This commit is contained in:
Jiralite
2025-09-05 11:47:44 +04:00
committed by GitHub
parent fa05a7503f
commit af3907b106
4 changed files with 12 additions and 4 deletions

View File

@@ -263,7 +263,9 @@ export interface RESTGetAPIWebhookWithTokenMessageQuery {
* @see {@link https://discord.com/developers/docs/resources/webhook#edit-webhook-message}
*/
export type RESTPatchAPIWebhookWithTokenMessageJSONBody = _AddUndefinedToPossiblyUndefinedPropertiesOfInterface<
_Nullable<Pick<RESTPostAPIWebhookWithTokenJSONBody, 'allowed_mentions' | 'components' | 'content' | 'embeds'>>
_Nullable<
Pick<RESTPostAPIWebhookWithTokenJSONBody, 'allowed_mentions' | 'components' | 'content' | 'embeds' | 'flags'>
>
> & {
/**
* Attached files to keep

View File

@@ -263,7 +263,9 @@ export interface RESTGetAPIWebhookWithTokenMessageQuery {
* @see {@link https://discord.com/developers/docs/resources/webhook#edit-webhook-message}
*/
export type RESTPatchAPIWebhookWithTokenMessageJSONBody = _AddUndefinedToPossiblyUndefinedPropertiesOfInterface<
_Nullable<Pick<RESTPostAPIWebhookWithTokenJSONBody, 'allowed_mentions' | 'components' | 'content' | 'embeds'>>
_Nullable<
Pick<RESTPostAPIWebhookWithTokenJSONBody, 'allowed_mentions' | 'components' | 'content' | 'embeds' | 'flags'>
>
> & {
/**
* Attached files to keep

View File

@@ -263,7 +263,9 @@ export interface RESTGetAPIWebhookWithTokenMessageQuery {
* @see {@link https://discord.com/developers/docs/resources/webhook#edit-webhook-message}
*/
export type RESTPatchAPIWebhookWithTokenMessageJSONBody = _AddUndefinedToPossiblyUndefinedPropertiesOfInterface<
_Nullable<Pick<RESTPostAPIWebhookWithTokenJSONBody, 'allowed_mentions' | 'components' | 'content' | 'embeds'>>
_Nullable<
Pick<RESTPostAPIWebhookWithTokenJSONBody, 'allowed_mentions' | 'components' | 'content' | 'embeds' | 'flags'>
>
> & {
/**
* Attached files to keep

View File

@@ -263,7 +263,9 @@ export interface RESTGetAPIWebhookWithTokenMessageQuery {
* @see {@link https://discord.com/developers/docs/resources/webhook#edit-webhook-message}
*/
export type RESTPatchAPIWebhookWithTokenMessageJSONBody = _AddUndefinedToPossiblyUndefinedPropertiesOfInterface<
_Nullable<Pick<RESTPostAPIWebhookWithTokenJSONBody, 'allowed_mentions' | 'components' | 'content' | 'embeds'>>
_Nullable<
Pick<RESTPostAPIWebhookWithTokenJSONBody, 'allowed_mentions' | 'components' | 'content' | 'embeds' | 'flags'>
>
> & {
/**
* Attached files to keep