Movatterモバイル変換


[0]ホーム

URL:


messageEntityCustomEmoji

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

messageEntityCustomEmoji#c8cf05f8 offset:int length:int document_id:long =MessageEntity;

Parameters

NameTypeDescription
offsetintOffset of message entity within message (inUTF-16 code units)
lengthintLength of message entity within message (inUTF-16 code units)
document_idlongDocument ID of thecustom emoji, usemessages.getCustomEmojiDocuments to fetch the emoji animation and the actual emoji it represents.

Type

MessageEntity

Related pages

Styled text with message entities

How to create styled text with message entities

Custom emojis

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

messages.getCustomEmojiDocuments

Fetchcustom emoji stickers ».

Returns a list ofdocuments with the animated custom emoji in TGS format, and adocumentAttributeCustomEmoji attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.

documentAttributeCustomEmoji

Info about a custom emoji

Telegram
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
About
Mobile Apps
Desktop Apps
Platform
About
Blog
Press
Moderation

[8]ページ先頭

©2009-2025 Movatter.jp