feat(MessageSend): add flags (#1427)

Add Flags field to MessageSend struct
This commit is contained in:
ozraru 2023-08-16 22:46:54 +09:00 committed by GitHub
parent a7ba2904ba
commit ff9176adcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,6 +238,7 @@ type MessageSend struct {
AllowedMentions *MessageAllowedMentions `json:"allowed_mentions,omitempty"`
Reference *MessageReference `json:"message_reference,omitempty"`
StickerIDs []string `json:"sticker_ids"`
Flags MessageFlags `json:"flags,omitempty"`
// TODO: Remove this when compatibility is not required.
File *File `json:"-"`