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.

---functions---
messages.getCustomEmojiDocuments#d9ab0f54 document_id:Vector<long> = Vector<Document>;

Parameters

Name Type Description
document_id Vector<long> Custom emoji IDs from a messageEntityCustomEmoji.

Result

Vector<Document>

Bots can use this method

Related pages

Custom emojis

Telegram allows including animated and static custom emojis inside of messages.

messageEntityCustomEmoji

Represents a custom emoji.
Note that this entity must wrap exactly one regular emoji (the one contained in documentAttributeCustomEmoji.alt) in the related text, otherwise the server will ignore it.

document

Document

documentAttributeCustomEmoji

Info about a custom emoji