Skip to content

MessageEffect

Type · TDLib 1.8.67 · d1085f9c

Contains information about an effect added to a message

MessageEffect(
  id: int64,
  static_icon: Sticker,
  emoji: string,
  is_premium: Bool,
  type: MessageEffectType
) → MessageEffect

id

int64

Unique identifier of the effect

static_icon

Sticker

Static icon for the effect in WEBP format; may be null if none

emoji

string

Emoji corresponding to the effect that can be used if static icon isn't available

is_premium

Bool

True, if Telegram Premium subscription is required to use the effect

type

MessageEffectType

Type of the effect