phone.SetCallRating#

class pyrogram.raw.functions.phone.SetCallRating#

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

Details:
  • Layer: 158

  • ID: 59EAD627

Parameters:
  • peer (InputPhoneCall) – The call to rate.

  • rating (int 32-bit) – Rating in 1-5 stars.

  • comment (str) – An additional comment.

  • user_initiative (bool, optional) – Whether the user decided on their own initiative to rate the call.

Returns:

Updates