Raw.DocumentAttributeCustomEmoji

Raw.DocumentAttributeCustomEmoji

Info about a custom emoji

documentAttributeCustomEmoji#fd149899 flags:# free:flags.0?true text_color:flags.1?true alt:string stickerset:InputStickerSet = DocumentAttribute;
export namespace Raw {
  export class DocumentAttributeCustomEmoji {
    constructor(params: {
      free?: boolean;
      textColor?: boolean;
      alt: string;
      stickerset: Raw.TypeInputStickerSet;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xfd149899

Property

  • free : boolean or undefined

    Whether this custom emoji can be sent by non-premium users

  • textColor : boolean or undefined

    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

    The actual emoji

  • stickerset : Raw.TypeInputStickerSet

    The emoji stickerset to which this emoji belongs.