messages.getCustomEmojiDocuments
Fetch custom emoji stickers ». Returns a list of documents with the animated custom emoji in TGS format, and a documentAttributeCustomEmoji attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.
func (c *Client) MessagesGetCustomEmojiDocuments(ctx context.Context, documentid []int64) ([]DocumentClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.MessagesGetCustomEmojiDocuments(ctx, documentid)
if err != nil {
return err
}
_ = res // []DocumentClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
DocumentID | []int64 | yes | Custom emoji IDs from a messageEntityCustomEmoji. |
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
messages.getCustomEmojiDocuments#d9ab0f54