Package org.drinkless.tdlib
Class TdApi.GetPreparedInlineMessage
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.PreparedInlineMessage>
org.drinkless.tdlib.TdApi.GetPreparedInlineMessage
- Enclosing class:
- TdApi
public static class TdApi.GetPreparedInlineMessage
extends TdApi.Function<TdApi.PreparedInlineMessage>
Saves an inline message to be sent by the given user.
Returns PreparedInlineMessage
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Identifier of the bot that created the message.static final int
Identifier uniquely determining type of the object.Identifier of the prepared message. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which saves an inline message to be sent by the given user.GetPreparedInlineMessage
(long botUserId, String preparedMessageId) Creates a function, which saves an inline message to be sent by the given 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
-
botUserId
public long botUserIdIdentifier of the bot that created the message. -
preparedMessageId
Identifier of the prepared message. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetPreparedInlineMessage
public GetPreparedInlineMessage()Default constructor for a function, which saves an inline message to be sent by the given user.Returns
PreparedInlineMessage
-
GetPreparedInlineMessage
Creates a function, which saves an inline message to be sent by the given user.Returns
PreparedInlineMessage
- Parameters:
botUserId
- Identifier of the bot that created the message.preparedMessageId
- Identifier of the prepared message.
-
-
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
-