Layer 220
MessagesEditQuickReplyShortcut
Rename a quick reply shortcut. This will emit an update Quick Replies update to other logged-in sessions.
method
Users
messages.editQuickReplyShortcut#5c003cef shortcut_id:int shortcut:string = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| ShortcutId | int | Shortcut ID. |
| Shortcut | string | New shortcut name. |
Returns
BoolPossible 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. |
Gogram Example
// MessagesEditQuickReplyShortcut - positional arguments result, err := client.MessagesEditQuickReplyShortcut(0, "...") if err != nil { // handle error } // result is *tg.Bool