MadelineProtoDocs/docs/API_docs/constructors/phoneCallAccepted.md

1.5 KiB

title description image
phoneCallAccepted An accepted phone call https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: phoneCallAccepted

Back to constructors index

An accepted phone call

Attributes:

Name Type Required Description
video Bool Optional Whether this is a video call
id long Yes ID of accepted phone call
access_hash long Yes Access hash of phone call
date int Yes When was the call accepted
admin_id int Yes ID of the call creator
participant_id int Yes ID of the other user in the call
g_b bytes Yes B parameter for secure E2E phone call key exchange
protocol PhoneCallProtocol Yes Protocol to use for phone call

Type: PhoneCall

Example:

$phoneCallAccepted = ['_' => 'phoneCallAccepted', 'video' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol];

Or, if you're into Lua:

phoneCallAccepted={_='phoneCallAccepted', video=Bool, id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol}