Layer 220
MessagesDeleteQuickReplyShortcut
Completely delete a quick reply shortcut. This will also emit an update Delete Quick Reply update to other logged-in sessions (and no update Delete Quick Reply Messages updates, even if all the messages in the shortcuts are also deleted by this method).
method
Users
messages.deleteQuickReplyShortcut#3cc04740 shortcut_id:int = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| ShortcutId | int | Shortcut ID |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | SHORTCUT_INVALID | The specified shortcut is invalid. |
Gogram Example
// MessagesDeleteQuickReplyShortcut - positional arguments result, err := client.MessagesDeleteQuickReplyShortcut(0) if err != nil { // handle error } // result is *tg.Bool