PhoneCallDiscarded
- class pyrogram.raw.types.PhoneCallDiscarded
Indicates a discarded phone call
Constructor of
PhoneCall.- Details:
Layer:
223ID:
50CA4DE1
- Parameters:
id (
int64-bit) – Call IDneed_rating (
bool, optional) – Whether the server required the user to rate the callneed_debug (
bool, optional) – Whether the server required the client to send the libtgvoip call debug datavideo (
bool, optional) – Whether the call was a video callreason (
PhoneCallDiscardReason, optional) – Why was the phone call discardedduration (
int32-bit, optional) – Duration of the phone call in seconds
TL Schema
phoneCallDiscarded#50ca4de1
flags:#
need_rating:flags.2?true
need_debug:flags.3?true
video:flags.6?true
id:long
reason:flags.0?PhoneCallDiscardReason
duration:flags.1?int
= PhoneCall
Parameter Tree
PhoneCallDiscarded
├── need_rating →
true (optional)├── need_debug →
true (optional)├── video →
true (optional)├── id →
long├── reason →
PhoneCallDiscardReason (optional)│ └── slug →
string└── duration →
int (optional)Example
PhoneCallDiscarded(
id=0,
)