SetCallRating

class pyrogram.api.functions.phone.SetCallRating(*, peer, rating: int, comment: str, user_initiative: bool = None)
ID

0x59ead627

Parameters:
  • peerInputPhoneCall
  • ratingint 32-bit
  • commentstr
  • user_initiative (optional) – bool
Raises:

RPCError

Returns:

Either UpdatesTooLong, UpdateShortMessage, UpdateShortChatMessage, UpdateShort, UpdatesCombined, Update or UpdateShortSentMessage