AddQuickReplyShortcutMessage constructor

const AddQuickReplyShortcutMessage({
  1. required String shortcutName,
  2. required int replyToMessageId,
  3. required InputMessageContent inputMessageContent,
})

Adds a message to a quick reply shortcut. 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 AddQuickReplyShortcutMessage({
  required this.shortcutName,
  required this.replyToMessageId,
  required this.inputMessageContent,
});