messages.editQuickReplyShortcut

Rename a quick reply shortcut.
This will emit an updateQuickReplies update to other logged-in sessions.

 Method schema is available as of layer 176. Switch »

Parameters

Name Type Description
shortcut_id int Shortcut ID.
shortcut string New shortcut name.

Result

Bool

Possible errors

Code Type Description
403 PREMIUM_ACCOUNT_REQUIRED A premium account is required to execute this action.
400 SHORTCUT_INVALID The specified shortcut is invalid.

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.

updateQuickReplies

Info about or the order of quick reply shortcuts » was changed.