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.