messages.sendQuickReplyMessages

Send a quick reply shortcut ».

 Method schema is available as of layer 177. Switch »

Parameters

Name Type Description
peer InputPeer The peer where to send the shortcut (users only, for now).
shortcut_id int The ID of the quick reply shortcut to send.
id Vector<int> Specify a subset of messages from the shortcut to send; if empty, defaults to all of them.
random_id Vector<long> Unique client IDs required to prevent message resending, one for each message we're sending, may be empty (but not recommended).

Result

Updates

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.
403 PREMIUM_ACCOUNT_REQUIRED A premium account is required to execute this action.

Related pages

Business

Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start pages, chatbot support, and more.