messages.getSavedReactionTags
Fetch the full list of saved message tags created by the user.
func (c *Client) MessagesGetSavedReactionTags(ctx context.Context, request *MessagesGetSavedReactionTagsRequest) (MessagesSavedReactionTagsClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.MessagesGetSavedReactionTags(ctx, &tg.MessagesGetSavedReactionTagsRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // MessagesSavedReactionTagsClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Peer | InputPeerClass | — | If set, returns tags only used in the specified saved message dialog. |
Hash | int64 | yes | Hash used for caching, for more info click here. |
Returns
MessagesSavedReactionTagsClass
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
messages.getSavedReactionTags#3637e05b