MadelineProtoDocs/old_docs/API_docs_v91/constructors/phoneCallAccepted.md
2019-12-27 17:48:04 +01:00

1.4 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
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', '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', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol}