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

     1  package tdproto
     2  
     3  // For exchange Session Description with server when client's Local Session Description is changed
     4  type ClientCallSdp struct {
     5  	BaseEvent
     6  	Params clientCallSdpParams `json:"params"`
     7  }
     8  
     9  func (p ClientCallSdp) GetName() string { return "client.call.sdp" }
    10  
    11  // Params of the client.call.sdp event
    12  type clientCallSdpParams struct {
    13  	// Chat or contact id
    14  	Jid JID `json:"jid"`
    15  
    16  	// Call id
    17  	Uid string `json:"uid"`
    18  
    19  	// SDP data
    20  	JSEP JSEP `json:"jsep"`
    21  }