MadelineProtoDocs/old_docs/API_docs_v65/constructors/phoneCallWaiting.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

1.3 KiB

title description image
phoneCallWaiting phoneCallWaiting attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: phoneCallWaiting

Back to constructors index

Attributes:

Name Type Required
id long Yes
access_hash long Yes
date int Yes
admin_id int Yes
participant_id int Yes
protocol PhoneCallProtocol Yes
receive_date int Optional

Type: PhoneCall

Example:

$phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int];

PWRTelegram json-encoded version:

{"_": "phoneCallWaiting", "id": long, "access_hash": long, "date": int, "admin_id": int, "participant_id": int, "protocol": PhoneCallProtocol, "receive_date": int}

Or, if you're into Lua:

phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int}