Skip to content

Commit

Permalink
feat(MessageFlags): add HasSnapshot (#1141)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite authored Jan 24, 2025
1 parent 27840d1 commit d446be5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deno/payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,10 @@ export enum MessageFlags {
* This message is a voice message
*/
IsVoiceMessage = 1 << 13,
/**
* This message has a snapshot (via Message Forwarding)
*/
HasSnapshot = 1 << 14,
}

/**
Expand Down
4 changes: 4 additions & 0 deletions deno/payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,10 @@ export enum MessageFlags {
* This message is a voice message
*/
IsVoiceMessage = 1 << 13,
/**
* This message has a snapshot (via Message Forwarding)
*/
HasSnapshot = 1 << 14,
}

/**
Expand Down
4 changes: 4 additions & 0 deletions payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,10 @@ export enum MessageFlags {
* This message is a voice message
*/
IsVoiceMessage = 1 << 13,
/**
* This message has a snapshot (via Message Forwarding)
*/
HasSnapshot = 1 << 14,
}

/**
Expand Down
4 changes: 4 additions & 0 deletions payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,10 @@ export enum MessageFlags {
* This message is a voice message
*/
IsVoiceMessage = 1 << 13,
/**
* This message has a snapshot (via Message Forwarding)
*/
HasSnapshot = 1 << 14,
}

/**
Expand Down

0 comments on commit d446be5

Please sign in to comment.