Inherits td::td_api::Function.
|
|
using | ReturnType = object_ptr< ok > |
| | Typedef for the type returned by the function.
|
| |
|
|
int32 | call_id_ |
| | Call identifier.
|
| |
|
int32 | rating_ |
| | Call rating; 1-5.
|
| |
|
string | comment_ |
| | An optional user comment if the rating is less than 5.
|
| |
|
array< object_ptr< CallProblem > > | problems_ |
| | List of the exact types of problems with the call, specified by the user.
|
| |
|
|
static const std::int32_t | ID = -1402719502 |
| | Identifier uniquely determining a type of the object.
|
| |
Sends a call rating.
Returns object_ptr<Ok>.
◆ sendCallRating() [1/2]
| td::td_api::sendCallRating::sendCallRating |
( |
| ) |
|
Default constructor for a function, which sends a call rating.
Returns object_ptr<Ok>.
◆ sendCallRating() [2/2]
Creates a function, which sends a call rating.
Returns object_ptr<Ok>.
- Parameters
-
| [in] | call_id_ | Call identifier. |
| [in] | rating_ | Call rating; 1-5. |
| [in] | comment_ | An optional user comment if the rating is less than 5. |
| [in] | problems_ | List of the exact types of problems with the call, specified by the user. |
◆ get_id()
| std::int32_t td::td_api::sendCallRating::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
| void td::td_api::sendCallRating::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: