Layer 220
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
Flags # Flags, see TL conditional fields
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

PhoneCall

Gogram Example

// Creating PhoneCallRequested constructor
obj := &tg.PhoneCallRequested{
    Id: int64(0),
    AccessHash: int64(0),
    Date: 0,
    AdminId: int64(0),
    ParticipantId: int64(0),
    GAHash: []byte{},
    // ... more required fields

    // Optional fields:
    // Video: true,
}