Package org.drinkless.tdlib
Class TdApi.SetUserEmojiStatus
- Enclosing class:
- TdApi
Changes the emoji status of a user; for bots only.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.New emoji status; pass null to switch to the default badge.long
Identifier of the user. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes the emoji status of a user; for bots only.SetUserEmojiStatus
(long userId, TdApi.EmojiStatus emojiStatus) Creates a function, which changes the emoji status of a user; for bots only. -
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
-
userId
public long userIdIdentifier of the user. -
emojiStatus
New emoji status; pass null to switch to the default badge. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetUserEmojiStatus
public SetUserEmojiStatus()Default constructor for a function, which changes the emoji status of a user; for bots only.Returns
Ok
-
SetUserEmojiStatus
Creates a function, which changes the emoji status of a user; for bots only.Returns
Ok
- Parameters:
userId
- Identifier of the user.emojiStatus
- New emoji status; pass null to switch to the default badge.
-
-
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
-