feat: add new message flags (#1428)
Add MessageFlagsSuppressNotifications and MessageFlagsIsVoiceMessage. --------- Co-authored-by: Fedor Lapshin <fe.lap.prog@gmail.com>
This commit is contained in:
parent
58193fbfaa
commit
a7ba2904ba
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue