Skip to content

Commit

Permalink
feat: add new message flags (#1428)
Browse files Browse the repository at this point in the history
Add MessageFlagsSuppressNotifications and MessageFlagsIsVoiceMessage.
---------

Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
  • Loading branch information
ozraru and FedorLap2006 committed Aug 16, 2023
1 parent 58193fb commit a7ba290
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a7ba290

Please sign in to comment.