- 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
int
Duration of the status, in seconds; pass 0 to keep the status active until it will be changed manually.New emoji status; pass null to switch to the default badge. -
Constructor Summary
ConstructorDescriptionChanges the emoji status of the current user; for Telegram Premium users only.SetEmojiStatus
(TdApi.EmojiStatus emojiStatus, int duration) Changes the emoji status of the current user; for Telegram Premium users only.SetEmojiStatus
(DataInput input) Changes the emoji status of the current user; for Telegram Premium users only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
emojiStatus
New emoji status; pass null to switch to the default badge. -
duration
public int durationDuration of the status, in seconds; pass 0 to keep the status active until it will be changed manually. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetEmojiStatus
public SetEmojiStatus()Changes the emoji status of the current user; for Telegram Premium users only. ReturnsOk
-
SetEmojiStatus
Changes the emoji status of the current user; for Telegram Premium users only. ReturnsOk
- Parameters:
emojiStatus
- EmojiStatus New emoji status; pass null to switch to the default badge.duration
- int Duration of the status, in seconds; pass 0 to keep the status active until it will be changed manually.
-
SetEmojiStatus
Changes the emoji status of the current user; for Telegram Premium users only. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-