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

     1  package tdproto
     2  
     3  // Reject the call
     4  type ClientCallReject struct {
     5  	BaseEvent
     6  	Params clientCallRejectParams `json:"params"`
     7  }
     8  
     9  func (p ClientCallReject) GetName() string { return "client.call.reject" }
    10  
    11  // Params of the client.call.reject event
    12  type clientCallRejectParams struct {
    13  	// Chat or contact id
    14  	Jid JID `json:"jid"`
    15  
    16  	// Reason, if any
    17  	Reason string `json:"reason,omitempty"`
    18  }