SetCallRating

class pyrogram.raw.functions.phone.SetCallRating

Rate a call.

Details
  • Layer: 122

  • ID: 0x59ead627

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 – Object which is perceived by the client without a call on its part when an event occurs.