Layer 220
MessagesCheckQuickReplyShortcut
Before offering the user the choice to add a message to a quick reply shortcut, to make sure that none of the limits specified here were reached.
method
Users
messages.checkQuickReplyShortcut#f1d0fbd3 shortcut:string = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Shortcut | string | Shorcut name (not ID!). |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 403 | PREMIUM_ACCOUNT_REQUIRED | A premium account is required to execute this action. |
Gogram Example
// MessagesCheckQuickReplyShortcut - positional arguments result, err := client.MessagesCheckQuickReplyShortcut("...") if err != nil { // handle error } // result is *tg.Bool