Skip to content

phone.requestCall

Layer 225

Constructor ID: 0x42ff96ed
Returns: PhoneCall

Parameters

NameTypeDescription
videobool (flags.0, optional)
user_idInputUser
random_idint32
g_a_hash[]byte
protocolPhoneCallProtocol

Example

go
result, err := client.Raw(&tg.RequestCallRequest{
    video: false,
    user_id: nil, // InputUser
    random_id: 0,
    g_a_hash: nil,
    protocol: nil, // PhoneCallProtocol
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.