Skip to content

Commit d446be5

Browse files
authored
feat(MessageFlags): add HasSnapshot (#1141)
1 parent 27840d1 commit d446be5

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

deno/payloads/v10/channel.ts

+4
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,10 @@ export enum MessageFlags {
910910
* This message is a voice message
911911
*/
912912
IsVoiceMessage = 1 << 13,
913+
/**
914+
* This message has a snapshot (via Message Forwarding)
915+
*/
916+
HasSnapshot = 1 << 14,
913917
}
914918

915919
/**

deno/payloads/v9/channel.ts

+4
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,10 @@ export enum MessageFlags {
895895
* This message is a voice message
896896
*/
897897
IsVoiceMessage = 1 << 13,
898+
/**
899+
* This message has a snapshot (via Message Forwarding)
900+
*/
901+
HasSnapshot = 1 << 14,
898902
}
899903

900904
/**

payloads/v10/channel.ts

+4
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,10 @@ export enum MessageFlags {
910910
* This message is a voice message
911911
*/
912912
IsVoiceMessage = 1 << 13,
913+
/**
914+
* This message has a snapshot (via Message Forwarding)
915+
*/
916+
HasSnapshot = 1 << 14,
913917
}
914918

915919
/**

payloads/v9/channel.ts

+4
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,10 @@ export enum MessageFlags {
895895
* This message is a voice message
896896
*/
897897
IsVoiceMessage = 1 << 13,
898+
/**
899+
* This message has a snapshot (via Message Forwarding)
900+
*/
901+
HasSnapshot = 1 << 14,
898902
}
899903

900904
/**

0 commit comments

Comments
 (0)