public static class TdApi.AddQuickReplyShortcutInlineQueryResultMessage extends TdApi.Function<TdApi.QuickReplyMessage>
Returns QuickReplyMessage
| Modifier and Type | Field and Description |
|---|---|
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 |
queryId
Identifier of the inline query.
|
long |
replyToMessageId
Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none.
|
java.lang.String |
resultId
Identifier of the inline query result.
|
java.lang.String |
shortcutName
Name of the target shortcut.
|
| Constructor and Description |
|---|
AddQuickReplyShortcutInlineQueryResultMessage()
Default constructor for a function, which adds a message to a quick reply shortcut via inline bot.
|
AddQuickReplyShortcutInlineQueryResultMessage(java.lang.String shortcutName,
long replyToMessageId,
long queryId,
java.lang.String resultId,
boolean hideViaBot)
Creates a function, which adds a message to a quick reply shortcut via inline bot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String shortcutName
public long replyToMessageId
public long queryId
public java.lang.String resultId
public boolean hideViaBot
public static final int CONSTRUCTOR
public AddQuickReplyShortcutInlineQueryResultMessage()
Returns QuickReplyMessage
public AddQuickReplyShortcutInlineQueryResultMessage(java.lang.String shortcutName,
long replyToMessageId,
long queryId,
java.lang.String resultId,
boolean hideViaBot)
Returns QuickReplyMessage
shortcutName - Name of the target shortcut.replyToMessageId - Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none.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