Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticateArgs ¶
type AuthenticateArgs struct {
AccessToken string `json:"access_token"`
}
type AuthorizeArgs ¶
type AuthorizeData ¶
type AuthorizeData struct {
Code string `json:"code"`
}
type GetChannelData ¶
type GetChannelData struct { Channel VoiceStates []VoiceStateData `json:"voice_states"` }
type Response ¶
type Response struct { Cmd string `json:"cmd"` Nonce string `json:"nonce"` Event string `json:"evt"` Data json.RawMessage `json:"data"` }
func (*Response) UnmarshalData ¶
type SpeakingArgs ¶
type SpeakingArgs struct {
ChannelID string `json:"channel_id"`
}
type SpeakingData ¶
type SpeakingData struct {
UserID string `json:"user_id"`
}
type VoiceChannelSelectData ¶
type VoiceState ¶
type VoiceStateArgs ¶
type VoiceStateArgs struct {
ChannelID string `json:"channel_id"`
}
type VoiceStateData ¶
type VoiceStateData struct { Nick string `json:"nick"` Mute bool `json:"mute"` Volume float64 `json:"volume"` VoiceState VoiceState `json:"voice_state"` User User `json:"user"` }
Click to show internal directories.
Click to hide internal directories.