messages.deleteQuickReplyShortcut #

Completely delete a quick reply shortcut.
This will also emit an updateDeleteQuickReply update to other logged-in sessions (and no updateDeleteQuickReplyMessages updates, even if all the messages in the shortcuts are also deleted by this method).

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.deleteQuickReplyShortcut#3cc04740 shortcut_id:int = Bool;

Parameters #

NameTypeDescription
shortcut_idintShortcut ID

Result #

Bool

Only users can use this method #

Possible errors #

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

updateDeleteQuickReply #

A quick reply shortcut » was deleted. This will not emit updateDeleteQuickReplyMessages updates, even if all the messages in the shortcut are also deleted by this update.

updateDeleteQuickReplyMessages #

One or more messages in a quick reply shortcut » were deleted.