Package org.drinkless.tdlib
Class TdApi.SendCallRating
- Enclosing class:
TdApi
Sends a call rating.
Returns Ok
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionCall identifier.An optional user comment if the rating is less than 5.static final intIdentifier uniquely determining type of the object.List of the exact types of problems with the call, specified by the user.intCall rating; 1-5. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which sends a call rating.SendCallRating(TdApi.InputCall callId, int rating, String comment, TdApi.CallProblem[] problems) Creates a function, which sends a call rating. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
callId
Call identifier. -
rating
public int ratingCall 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SendCallRating
public SendCallRating()Default constructor for a function, which sends a call rating.Returns
Ok -
SendCallRating
public SendCallRating(TdApi.InputCall callId, int rating, String comment, TdApi.CallProblem[] problems) Creates a function, which sends a call rating.Returns
Ok- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.Ok>- Returns:
- this.CONSTRUCTOR
-