public static class TdApi.PreparedInlineMessage extends TdApi.Object
| 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.
|
long |
inlineQueryId
Unique identifier of the inline query to pass to sendInlineQueryResultMessage.
|
TdApi.InlineQueryResult |
result
Resulted inline message of the query.
|
| Constructor and Description |
|---|
PreparedInlineMessage()
Represents a ready to send inline message.
|
PreparedInlineMessage(long inlineQueryId,
TdApi.InlineQueryResult result,
TdApi.TargetChatTypes chatTypes)
Represents a ready to send inline message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long inlineQueryId
public TdApi.InlineQueryResult result
public TdApi.TargetChatTypes chatTypes
public static final int CONSTRUCTOR
public PreparedInlineMessage()
public PreparedInlineMessage(long inlineQueryId,
TdApi.InlineQueryResult result,
TdApi.TargetChatTypes chatTypes)
inlineQueryId - Unique identifier of the inline query to pass to sendInlineQueryResultMessage.result - Resulted inline message of the query.chatTypes - Types of the chats to which the message can be sent.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object