Layer 224
PhoneCallRequested
Requested phone call
constructor
phoneCallRequested#14b0ed0c flags:# video:flags.6?true id:long access_hash:long date:int admin_id:long participant_id:long g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall;
Parameters
| Name | Type | Description |
|---|---|---|
| Video | flags.6?true | Whether this is a video call |
| Id | long | Phone call ID |
| AccessHash | long | Access hash |
| Date | int | When was the phone call created |
| AdminId | long | ID of the creator of the phone call |
| ParticipantId | long | ID of the other participant of the phone call |
| GAHash | bytes | Parameter for key exchange |
| Protocol | PhoneCallProtocol | Call protocol info to be passed to libtgvoip |
Returns
PhoneCallGogram Example
// Creating PhoneCallRequested constructor obj := &tg.PhoneCallRequested{ Id: int64(1234567890), AccessHash: int64(1234567890), Date: 42, AdminId: int64(1234567890), ParticipantId: int64(1234567890), GAHash: []byte{0x01, 0x02, 0x03}, // ... more required fields // Optional fields: // Video: true, }