structs.go 642 B

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