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

     1  package tdproto
     2  
     3  // Change video state in call
     4  type ClientCallVideo struct {
     5  	BaseEvent
     6  	Params clientCallVideoParams `json:"params"`
     7  }
     8  
     9  func (p ClientCallVideo) GetName() string { return "client.call.video" }
    10  
    11  // Params of the client.call.video event
    12  type clientCallVideoParams struct {
    13  	// Chat or contact id
    14  	Jid JID `json:"jid"`
    15  
    16  	// Enable video state
    17  	Enabled bool `json:"enabled"`
    18  }