Link Search Menu Expand Document

Constructor: phoneCallDiscarded

Back to constructors index

Indicates a discarded phone call

Attributes:

NameTypeRequiredDescription
need_ratingBoolOptionalWhether the server required the user to rate the call
need_debugBoolOptionalWhether the server required the client to send the libtgvoip call debug data
videoBoolOptionalWhether the call was a video call
idlongYesCall ID
reasonPhoneCallDiscardReasonOptionalWhy was the phone call discarded
durationintOptionalDuration of the phone call in seconds

Type: PhoneCall

Example:

$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'video' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int];