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.
Rate a call, returns info about the rating message sent to the official VoIP bot, see [here »](https://core.telegram.org/api/calls.md#call-rating) for more info on the full flow.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
user_initiative | true | لأ | Whether the user decided on their own initiative to rate the call, must NOT be set if rating was requested by the server with [phoneCallDiscarded](https://core.telegram.org/constructor/phoneCallDiscarded.md).`need_rating`. |
peer | InputPhoneCall | أيوه | The call to rate |
rating | int | أيوه | Rating in `1-5` stars |
comment | string | أيوه | An additional comment with problem hashtags, see [here »](https://core.telegram.org/api/calls.md#call-rating) for more info on the full flow. |
الردود
Updates
MTProto RPC
- 400 · CALL_PEER_INVALID — The provided call peer object is invalid.