Added structs for voice regions and ice

This commit is contained in:
Bruce Marriner 2015-11-14 11:14:30 -06:00
parent c94dfba12d
commit 4fc845b7eb

View file

@ -16,8 +16,26 @@ type Message struct {
ChannelId int `json:"channel_id,string"` ChannelId int `json:"channel_id,string"`
} }
type Attachment struct { type Attachment struct { //TODO figure this out
} }
type Embed struct { type Embed struct { // TODO figure this out
}
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"`
} }