AddQuickReplyShortcutInlineQueryResultMessage constructor

const AddQuickReplyShortcutInlineQueryResultMessage({
  1. required String shortcutName,
  2. required int replyToMessageId,
  3. required int queryId,
  4. required String resultId,
  5. required bool hideViaBot,
})

Adds a message to a quick reply shortcut via inline bot. If shortcut doesn't exist and there are less than getOption("quick_reply_shortcut_count_max") shortcuts, then a new shortcut is created. The shortcut must not contain more than getOption("quick_reply_shortcut_message_count_max") messages after adding the new message. Returns the added message

Implementation

const AddQuickReplyShortcutInlineQueryResultMessage({
  required this.shortcutName,
  required this.replyToMessageId,
  required this.queryId,
  required this.resultId,
  required this.hideViaBot,
});