public static class TdApi.SavePreparedInlineMessage extends TdApi.Function<TdApi.PreparedInlineMessageId>
Returns PreparedInlineMessageId
| Modifier and Type | Field and Description |
|---|---|
TdApi.TargetChatTypes |
chatTypes
Types of the chats to which the message can be sent.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputInlineQueryResult |
result
The description of the message.
|
long |
userId
Identifier of the user.
|
| Constructor and Description |
|---|
SavePreparedInlineMessage()
Default 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public TdApi.InputInlineQueryResult result
public TdApi.TargetChatTypes chatTypes
public static final int CONSTRUCTOR
public SavePreparedInlineMessage()
Returns PreparedInlineMessageId
public SavePreparedInlineMessage(long userId,
TdApi.InputInlineQueryResult result,
TdApi.TargetChatTypes chatTypes)
Returns PreparedInlineMessageId
userId - Identifier of the user.result - The description of the message.chatTypes - Types of the chats to which the message can be sent.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object