Package org.drinkless.tdlib
Class TdApi.SetDefaultReactionType
- Enclosing class:
- TdApi
Changes type of default reaction for the current user.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.New type of the default reaction. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes type of default reaction for the current user.SetDefaultReactionType
(TdApi.ReactionType reactionType) Creates a function, which changes type of default reaction for the current user. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
reactionType
New type of the default reaction. The paid reaction can't be set as default. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetDefaultReactionType
public SetDefaultReactionType()Default constructor for a function, which changes type of default reaction for the current user.Returns
Ok
-
SetDefaultReactionType
Creates a function, which changes type of default reaction for the current user.Returns
Ok
- Parameters:
reactionType
- New type of the default reaction. The paid reaction can't be set as default.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-