public static class TdApi.SendInlineQueryResultMessage extends TdApi.Function
Returns Message
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Target chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hideViaBot
If true, there will be no mention of a bot, via which the message is sent.
|
long |
messageThreadId
If not 0, a 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.
|
long |
replyToMessageId
Identifier of a message to reply to or 0.
|
java.lang.String |
resultId
Identifier of the inline 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,
long replyToMessageId,
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() |
toString
public long chatId
public long messageThreadId
public long replyToMessageId
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, long replyToMessageId, TdApi.MessageSendOptions options, long queryId, java.lang.String resultId, boolean hideViaBot)
Returns Message
chatId
- Target chat.messageThreadId
- If not 0, a message thread identifier in which the message will be sent.replyToMessageId
- Identifier of a message to reply to or 0.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 result.hideViaBot
- If true, there will be no mention of a 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()
getConstructor
in class TdApi.Function