mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-10-04 00:29:04 +00:00
Voice: Add UserID to SpeakingData (#161)
This commit is contained in:
parent
42724e0b91
commit
de7d7f62a4
|
@ -107,9 +107,10 @@ const (
|
|||
// OPCode 5
|
||||
// https://discord.com/developers/docs/topics/voice-connections#speaking-example-speaking-payload
|
||||
type SpeakingData struct {
|
||||
Speaking SpeakingFlag `json:"speaking"`
|
||||
Delay int `json:"delay"`
|
||||
SSRC uint32 `json:"ssrc"`
|
||||
Speaking SpeakingFlag `json:"speaking"`
|
||||
Delay int `json:"delay"`
|
||||
SSRC uint32 `json:"ssrc"`
|
||||
UserID discord.UserID `json:"user_id,omitempty"`
|
||||
}
|
||||
|
||||
// Speaking sends a Speaking operation (opcode 5) to the Gateway Gateway.
|
||||
|
|
Loading…
Reference in a new issue