1234567891011121314151617181920212223242526272829303132 |
- package discordgo
- type Channel struct {
- ID string `json:"id"`
- GuildID string `json:"guild_idomitempty"`
- Name string `json:"name"`
- Topic string `json:"topic"`
- Position int `json:"position"`
- Type string `json:"type"`
- PermissionOverwrites []PermissionOverwrite `json:"permission_overwrites"`
- IsPrivate bool `json:"is_private"`
- LastMessageID string `json:"last_message_id"`
- Recipient User `json:"recipient"`
- Session *Session
- }
- type PermissionOverwrite struct {
- ID string `json:"id"`
- Type string `json:"type"`
- Deny int `json:"deny"`
- Allow int `json:"allow"`
- }
|