1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- 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 {
- }
- type VoiceRegion struct {
- ID string `json:"id"`
- Name string `json:"name"`
- SampleHostname string `json:"sample_hostname"`
- SamplePort int `json:"sample_port"`
- }
- type VoiceICE struct {
- TTL int `json:"ttl,string"`
- Servers []ICEServer `json:"servers"`
- }
- type ICEServer struct {
- URL string `json:"url"`
- Username string `json:"username"`
- Credential string `json:"credential"`
- }
- type Invite struct {
- MaxAge int `json:"max_age"`
- Code string `json:"code"`
- Guild Guild `json:"guild"`
- Revoked bool `json:"revoked"`
- CreatedAt string `json:"created_at"`
- Temporary bool `json:"temporary"`
- Uses int `json:"uses"`
- MaxUses int `json:"max_uses"`
- Inviter User `json:"inviter"`
- XkcdPass bool `json:"xkcdpass"`
- Channel Channel `json:"channel"`
- }
|