mirror of
https://github.com/bwmarrin/discordgo.git
synced 2025-12-23 23:17:45 -05:00
feat(MessageAttachment): add flags (#1626)
This commit is contained in:
@@ -363,8 +363,17 @@ type MessageAttachment struct {
|
||||
Ephemeral bool `json:"ephemeral"`
|
||||
DurationSecs float64 `json:"duration_secs"`
|
||||
Waveform string `json:"waveform"`
|
||||
Flags MessageAttachmentFlags `json:"flags"`
|
||||
}
|
||||
|
||||
// MessageAttachmentFlags is the flags of a message attachment.
|
||||
type MessageAttachmentFlags int
|
||||
|
||||
// Valid MessageAttachmentFlags values.
|
||||
const (
|
||||
MessageAttachmentFlagsIsRemix MessageAttachmentFlags = 1 << 2
|
||||
)
|
||||
|
||||
// MessageEmbedFooter is a part of a MessageEmbed struct.
|
||||
type MessageEmbedFooter struct {
|
||||
Text string `json:"text,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user