phone.setCallRating

Rate a call, returns info about the rating message sent to the official VoIP bot.

 Method schema is available as of layer 96. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
user_initiative flags.0?true Whether the user decided on their own initiative to rate the call
peer InputPhoneCall The call to rate
rating int Rating in 1-5 stars
comment string An additional comment

Result

Updates

Possible errors

Code Type Description
400 CALL_PEER_INVALID The provided call peer object is invalid.