MessageActionPhoneCall
- class pyrogram.raw.types.MessageActionPhoneCall
A phone call
Constructor of
MessageAction.- Details:
Layer:
223ID:
80E11A7F
- Parameters:
call_id (
int64-bit) – Call IDvideo (
bool, optional) – Is this a video call?reason (
PhoneCallDiscardReason, optional) – If the call has ended, the reason why it endedduration (
int32-bit, optional) – Duration of the call in seconds
TL Schema
messageActionPhoneCall#80e11a7f
flags:#
video:flags.2?true
call_id:long
reason:flags.0?PhoneCallDiscardReason
duration:flags.1?int
= MessageAction
Parameter Tree
MessageActionPhoneCall
├── video →
true (optional)├── call_id →
long├── reason →
PhoneCallDiscardReason (optional)│ └── slug →
string└── duration →
int (optional)Example
MessageActionPhoneCall(
call_id=0,
)