mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-06-02 17:00:10 +00:00
fix(RESTPatchAPIWebhookWithTokenMessageJSONBody): add flags (#1354)
This commit is contained in:
4
deno/rest/v10/webhook.ts
generated
4
deno/rest/v10/webhook.ts
generated
@@ -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
|
||||
|
||||
4
deno/rest/v9/webhook.ts
generated
4
deno/rest/v9/webhook.ts
generated
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user