Layer 220
MessagesUpdateSavedReactionTag
Update the description of a saved message tag.
method
Users
messages.updateSavedReactionTag#60297dec flags:# reaction:Reaction title:flags.0?string = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Reaction | Reaction | Reaction associated to the tag |
| Title | flags.0?string | Tag description, max 12 UTF-8 characters; to remove the description call the method without setting this flag. |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 403 | PREMIUM_ACCOUNT_REQUIRED | A premium account is required to execute this action. |
| 400 | REACTION_INVALID | The specified reaction is invalid. |
Gogram Example
// MessagesUpdateSavedReactionTag - using Params struct result, err := client.MessagesUpdateSavedReactionTag(&tg.MessagesUpdateSavedReactionTagParams{ Reaction: &tg.Reaction{}, // Optional fields: // Title: "...", }) if err != nil { // handle error } // result is *tg.Bool