github.com/tada-team/tdproto@v1.51.57/tdapi/calls.go (about)

     1  package tdapi
     2  
     3  import "github.com/tada-team/tdproto"
     4  
     5  type ClientCallTrickle struct {
     6  	Jid           tdproto.JID `json:"jid"`
     7  	Candidate     string      `json:"candidate"`
     8  	SdpMid        string      `json:"sdp_mid"`
     9  	SdpMlineIndex int         `json:"sdp_mline_index"`
    10  }
    11  
    12  type ClientCallRecord struct {
    13  	Jid         tdproto.JID `json:"jid"`
    14  	Uid         string      `json:"uid"`
    15  	Audiorecord bool        `json:"audiorecord,omitempty"`
    16  }
    17  
    18  type ClientCallSound struct {
    19  	Jid   tdproto.JID `json:"jid"`
    20  	Muted bool        `json:"muted"`
    21  }
    22  
    23  type ClientCallMuteAll struct {
    24  	Jid tdproto.JID `json:"jid"`
    25  }
    26  
    27  type ClientCallReject struct {
    28  	Jid    tdproto.JID `json:"jid"`
    29  	Reason string      `json:"reason"`
    30  }
    31  
    32  type ClientCallLeave struct {
    33  	Jid    tdproto.JID `json:"jid"`
    34  	Reason string      `json:"reason"`
    35  }