phoneCallDiscarded #

Indicates a discarded phone call, see here » for more info on the full flow.

Layer 223

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;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
need_ratingflags.2?trueWhether the server required the user to rate the call
need_debugflags.3?trueWhether the server required the client to send the libtgvoip call debug data
videoflags.6?trueWhether the call was a video call
idlongCall ID
reasonflags.0?PhoneCallDiscardReasonWhy was the phone call discarded
durationflags.1?intDuration of the phone call in seconds

Type #

PhoneCall

phone.setCallRating #

Rate a call, returns info about the rating message sent to the official VoIP bot, see here » for more info on the full flow.

phone.saveCallDebug #

Send phone call debug data to server.

Phone calls #

Telegram supports end-to-end-encrypted one-to-one voice and video calls.