Package org.drinkless.tdlib
Class TdApi.SavePreparedInlineMessage
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.PreparedInlineMessageId>
org.drinkless.tdlib.TdApi.SavePreparedInlineMessage
- Enclosing class:
- TdApi
public static class TdApi.SavePreparedInlineMessage
extends TdApi.Function<TdApi.PreparedInlineMessageId>
Saves an inline message to be sent by the given user; for bots only.
Returns PreparedInlineMessageId
-
Field Summary
FieldsModifier and TypeFieldDescriptionTypes of the chats to which the message can be sent.static final intIdentifier uniquely determining type of the object.The description of the message.longIdentifier of the user. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which saves an inline message to be sent by the given user; for bots only.SavePreparedInlineMessage(long userId, TdApi.InputInlineQueryResult result, TdApi.TargetChatTypes chatTypes) Creates a function, which saves an inline message to be sent by the given user; for bots only. -
Method Summary
Modifier and TypeMethodDescriptionintReturns 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. -
result
The description of the message. -
chatTypes
Types of the chats to which the message can be sent. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SavePreparedInlineMessage
public SavePreparedInlineMessage()Default constructor for a function, which saves an inline message to be sent by the given user; for bots only.Returns
PreparedInlineMessageId -
SavePreparedInlineMessage
public SavePreparedInlineMessage(long userId, TdApi.InputInlineQueryResult result, TdApi.TargetChatTypes chatTypes) Creates a function, which saves an inline message to be sent by the given user; for bots only.Returns
PreparedInlineMessageId- Parameters:
userId- Identifier of the user.result- The description of the message.chatTypes- Types of the chats to which the message can be sent.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-