public static class TdApi.SendCallRating extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
int |
callId
Call identifier.
|
java.lang.String |
comment
An optional user comment if the rating is less than 5.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.CallProblem[] |
problems
List of the exact types of problems with the call, specified by the user.
|
int |
rating
Call rating; 1-5.
|
| Constructor and Description |
|---|
SendCallRating()
Default constructor for a function, which sends a call rating.
|
SendCallRating(int callId,
int rating,
java.lang.String comment,
TdApi.CallProblem[] problems)
Creates a function, which sends a call rating.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int callId
public int rating
public java.lang.String comment
public TdApi.CallProblem[] problems
public static final int CONSTRUCTOR
public SendCallRating()
Returns Ok
public SendCallRating(int callId,
int rating,
java.lang.String comment,
TdApi.CallProblem[] problems)
Returns Ok
callId - Call identifier.rating - Call rating; 1-5.comment - An optional user comment if the rating is less than 5.problems - List of the exact types of problems with the call, specified by the user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object