structs.go 709 B

1234567891011121314151617181920212223
  1. package discordgo
  2. // TODO: Eventually everything here gets moved to a better place.
  3. type Message struct {
  4. Id int `json:"id,string"`
  5. Author User `json:"author"`
  6. Content string `json:"content"`
  7. Attachments []Attachment `json:"attachments"`
  8. Tts bool `json:"tts"`
  9. Embeds []Embed `json:"embeds"`
  10. Timestamp string `json:"timestamp"`
  11. MentionEveryone bool `json:"mention_everyone"`
  12. EditedTimestamp string `json:"edited_timestamp"`
  13. Mentions []User `json:"mentions"`
  14. ChannelId int `json:"channel_id,string"`
  15. }
  16. type Attachment struct {
  17. }
  18. type Embed struct {
  19. }