messages.editQuickReplyShortcut #

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

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.editQuickReplyShortcut#5c003cef shortcut_id:int shortcut:string = Bool;

Parameters #

NameTypeDescription
shortcut_idintShortcut ID.
shortcutstringNew shortcut name.

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
403PREMIUM_ACCOUNT_REQUIREDA premium account is required to execute this action.
400SHORTCUT_INVALIDThe specified shortcut is invalid.

Telegram 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.