mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-07 04:27:18 +00:00
api: add Flags field to SendMessageData struct
This commit is contained in:
parent
53c0da7358
commit
9d3f579e90
|
@ -119,6 +119,9 @@ type SendMessageData struct {
|
||||||
// guild_id in the reference. However, they are not necessary, but will be
|
// guild_id in the reference. However, they are not necessary, but will be
|
||||||
// validated if sent.
|
// validated if sent.
|
||||||
Reference *discord.MessageReference `json:"message_reference,omitempty"`
|
Reference *discord.MessageReference `json:"message_reference,omitempty"`
|
||||||
|
|
||||||
|
// Flags specifies the message flags to set (only `SuppressEmbeds` and `SuppressNotifications` can be set).
|
||||||
|
Flags discord.MessageFlags `json:"flags,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// NeedsMultipart returns true if the SendMessageData has files.
|
// NeedsMultipart returns true if the SendMessageData has files.
|
||||||
|
|
Loading…
Reference in a new issue