discordmuffin/structs.go
2015-11-08 21:42:16 -06:00

21 lines
642 B
Go

package discordgo
type Message struct {
Id int `json:"id,string"`
Author User `json:"author"`
Content string `json:"content"`
Attachments []Attachment `json:"attachments"`
Tts bool `json:"tts"`
Embeds []Embed `json:"embeds"`
Timestamp string `json:"timestamp"`
MentionEveryone bool `json:"mention_everyone"`
EditedTimestamp string `json:"edited_timestamp"`
Mentions []User `json:"mentions"`
ChannelId int `json:"channel_id,string"`
}
type Attachment struct {
}
type Embed struct {
}