telegram api constructor · layer 229 · #fd149899

documentAttributeCustomEmoji

Info about a custom emoji

definition

documentAttributeCustomEmoji#fd149899 flags:# free:flags.0?true text_color:flags.1?true alt:string stickerset:InputStickerSet = DocumentAttribute;

parameters

nametypedescription
flags#Flags, see TL conditional fields
freeflags.0?trueWhether this custom emoji can be sent by non-Premium users
text_colorflags.1?trueWhether 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.
altstringThe actual emoji
stickersetInputStickerSetThe emoji stickerset to which this emoji belongs.

type

DocumentAttribute · other constructors: documentAttributeImageSize, documentAttributeAnimated, documentAttributeSticker, documentAttributeVideo, documentAttributeAudio, documentAttributeFilename, documentAttributeHasStickers

history

present in layers 144–229

idlayers
#fd149899144–229