github.com/tada-team/tdproto@v1.51.57/client_call_leave.go (about) 1 package tdproto 2 3 // Leave call 4 type ClientCallLeave struct { 5 BaseEvent 6 Params clientCallLeaveParams `json:"params"` 7 } 8 9 func (p ClientCallLeave) GetName() string { return "client.call.leave" } 10 11 // Params of the client.call.leave event 12 type clientCallLeaveParams struct { 13 // Chat or contact id 14 Jid JID `json:"jid"` 15 16 // Reason, if any 17 Reason string `json:"reason,omitempty"` 18 }