public static class TdApi.SendInlineQueryResultMessage extends TdApi.Function<TdApi.Message>
Returns Message
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Target chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hideViaBot
Pass true to hide the bot, via which the message is sent.
|
long |
messageThreadId
If not 0, the message thread identifier in which the message will be sent.
|
TdApi.MessageSendOptions |
options
Options to be used to send the message; pass null to use default options.
|
long |
queryId
Identifier of the inline query.
|
TdApi.InputMessageReplyTo |
replyTo
Information about the message or story to be replied; pass null if none.
|
java.lang.String |
resultId
Identifier of the inline query result.
|
| Constructor and Description |
|---|
SendInlineQueryResultMessage()
Default constructor for a function, which sends the result of an inline query as a message.
|
SendInlineQueryResultMessage(long chatId,
long messageThreadId,
TdApi.InputMessageReplyTo replyTo,
TdApi.MessageSendOptions options,
long queryId,
java.lang.String resultId,
boolean hideViaBot)
Creates a function, which sends the result of an inline query as a message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageThreadId
public TdApi.InputMessageReplyTo replyTo
public TdApi.MessageSendOptions options
public long queryId
public java.lang.String resultId
public boolean hideViaBot
public static final int CONSTRUCTOR
public SendInlineQueryResultMessage()
Returns Message
public SendInlineQueryResultMessage(long chatId,
long messageThreadId,
TdApi.InputMessageReplyTo replyTo,
TdApi.MessageSendOptions options,
long queryId,
java.lang.String resultId,
boolean hideViaBot)
Returns Message
chatId - Target chat.messageThreadId - If not 0, the message thread identifier in which the message will be sent.replyTo - Information about the message or story to be replied; pass null if none.options - Options to be used to send the message; pass null to use default options.queryId - Identifier of the inline query.resultId - Identifier of the inline query result.hideViaBot - Pass true to hide the bot, via which the message is sent. Can be used only for bots getOption("animation_search_bot_username"), getOption("photo_search_bot_username"), and getOption("venue_search_bot_username").public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object