Package org.drinkless.tdlib
Class TdApi.PreparedInlineMessageId
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PreparedInlineMessageId
- Enclosing class:
- TdApi
Represents an inline message that can be sent via the bot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Point in time (Unix timestamp) when the message can't be used anymore.Unique identifier for the message. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents an inline message that can be sent via the bot.PreparedInlineMessageId
(String id, int expirationDate) Represents an inline message that can be sent via the bot. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
id
Unique identifier for the message. -
expirationDate
public int expirationDatePoint in time (Unix timestamp) when the message can't be used anymore. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PreparedInlineMessageId
public PreparedInlineMessageId()Represents an inline message that can be sent via the bot. -
PreparedInlineMessageId
Represents an inline message that can be sent via the bot.- Parameters:
id
- Unique identifier for the message.expirationDate
- Point in time (Unix timestamp) when the message can't be used anymore.
-
-
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
-