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.

 Method schema is available as of layer 144. Switch »

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