mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.3 KiB
1.3 KiB
title | description | nav_exclude | image |
---|---|---|---|
documentAttributeCustomEmoji | Info about a custom emoji | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: documentAttributeCustomEmoji
Info about a custom emoji
Attributes:
Name | Type | Required | Description |
---|---|---|---|
free | Bool | Optional | Whether this custom emoji can be sent by non-Premium users |
text_color | Bool | Optional | Whether the color of this TGS custom emoji should be changed to the text color when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context. |
alt | string | Yes | The actual emoji |
stickerset | InputStickerSet | Optional | The emoji stickerset to which this emoji belongs. |
Type: DocumentAttribute
Example:
$documentAttributeCustomEmoji = ['_' => 'documentAttributeCustomEmoji', 'free' => Bool, 'text_color' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet];