diff --git a/deno/payloads/v10/channel.ts b/deno/payloads/v10/channel.ts index d8f12129..d80c980e 100644 --- a/deno/payloads/v10/channel.ts +++ b/deno/payloads/v10/channel.ts @@ -1332,6 +1332,20 @@ export interface APIAttachment { * Base64 encoded bytearray representing a sampled waveform (currently for voice messages) */ waveform?: string; + /** + * Attachment flags combined as a bitfield + */ + flags?: AttachmentFlags; +} + +/** + * https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure-attachment-flags + */ +export enum AttachmentFlags { + /** + * This attachment has been edited using the remix feature on mobile + */ + IsRemix = 1 << 2, } /** diff --git a/deno/payloads/v9/channel.ts b/deno/payloads/v9/channel.ts index 207595a0..b53a4979 100644 --- a/deno/payloads/v9/channel.ts +++ b/deno/payloads/v9/channel.ts @@ -1300,6 +1300,20 @@ export interface APIAttachment { * Base64 encoded bytearray representing a sampled waveform (currently for voice messages) */ waveform?: string; + /** + * Attachment flags combined as a bitfield + */ + flags?: AttachmentFlags; +} + +/** + * https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure-attachment-flags + */ +export enum AttachmentFlags { + /** + * This attachment has been edited using the remix feature on mobile + */ + IsRemix = 1 << 2, } /** diff --git a/payloads/v10/channel.ts b/payloads/v10/channel.ts index d946dbd8..df70a693 100644 --- a/payloads/v10/channel.ts +++ b/payloads/v10/channel.ts @@ -1332,6 +1332,20 @@ export interface APIAttachment { * Base64 encoded bytearray representing a sampled waveform (currently for voice messages) */ waveform?: string; + /** + * Attachment flags combined as a bitfield + */ + flags?: AttachmentFlags; +} + +/** + * https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure-attachment-flags + */ +export enum AttachmentFlags { + /** + * This attachment has been edited using the remix feature on mobile + */ + IsRemix = 1 << 2, } /** diff --git a/payloads/v9/channel.ts b/payloads/v9/channel.ts index b0fc82cb..e4a71854 100644 --- a/payloads/v9/channel.ts +++ b/payloads/v9/channel.ts @@ -1300,6 +1300,20 @@ export interface APIAttachment { * Base64 encoded bytearray representing a sampled waveform (currently for voice messages) */ waveform?: string; + /** + * Attachment flags combined as a bitfield + */ + flags?: AttachmentFlags; +} + +/** + * https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure-attachment-flags + */ +export enum AttachmentFlags { + /** + * This attachment has been edited using the remix feature on mobile + */ + IsRemix = 1 << 2, } /**