mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 20:16:55 +01:00
25 lines
543 B
Markdown
25 lines
543 B
Markdown
|
---
|
||
|
title: rateCall
|
||
|
description: Sends call rating
|
||
|
---
|
||
|
## Method: rateCall
|
||
|
[Back to methods index](index.md)
|
||
|
|
||
|
|
||
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
||
|
|
||
|
|
||
|
Sends call rating
|
||
|
|
||
|
### Params:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|call\_id|[int](../types/int.md) | Yes|Call identifier|
|
||
|
|rating|[int](../types/int.md) | Yes|Call rating, 1-5|
|
||
|
|comment|[string](../types/string.md) | Yes|Optional user comment if rating is less than 5|
|
||
|
|
||
|
|
||
|
### Return type: [Ok](../types/Ok.md)
|
||
|
|