Class TdApi.SetEmojiStatus
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.SetEmojiStatus
- Enclosing class:
- TdApi
Changes the emoji status of the current user; for Telegram Premium users only.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.New emoji status; pass null to switch to the default badge. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which changes the emoji status of the current user; for Telegram Premium users only.SetEmojiStatus
(TdApi.EmojiStatus emojiStatus) Creates a function, which changes the emoji status of the current user; for Telegram Premium users only. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
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
-
SetEmojiStatus
public SetEmojiStatus()Default constructor for a function, which changes the emoji status of the current user; for Telegram Premium users only.Returns
Ok
-
SetEmojiStatus
Creates a function, which changes the emoji status of the current user; for Telegram Premium users only.Returns
Ok
- Parameters:
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
-