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.

Layer 223

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

Parameters #

NameTypeDescription
document_idVector<long>Custom emoji IDs from a messageEntityCustomEmoji.

Result #

Vector<Document>

Both users and bots can use this method #

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