From a7ba2904ba073d704aeac70ed4fb81b0374cb88d Mon Sep 17 00:00:00 2001 From: ozraru Date: Wed, 16 Aug 2023 16:19:57 +0900 Subject: [PATCH] feat: add new message flags (#1428) Add MessageFlagsSuppressNotifications and MessageFlagsIsVoiceMessage. --------- Co-authored-by: Fedor Lapshin --- message.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/message.go b/message.go index 94a9f08..a297c2f 100644 --- a/message.go +++ b/message.go @@ -215,6 +215,10 @@ const ( MessageFlagsLoading MessageFlags = 1 << 7 // MessageFlagsFailedToMentionSomeRolesInThread this message failed to mention some roles and add their members to the thread. MessageFlagsFailedToMentionSomeRolesInThread MessageFlags = 1 << 8 + // MessageFlagsSuppressNotifications this message will not trigger push and desktop notifications. + MessageFlagsSuppressNotifications MessageFlags = 1 << 12 + // MessageFlagsIsVoiceMessage this message is a voice message. + MessageFlagsIsVoiceMessage MessageFlags = 1 << 13 ) // File stores info about files you e.g. send in messages.