Documentation - v0.27.0
    Preparing search index...
    • Set an emoji status for the given user/chat

      You can change emoji status of:

      • yourself (self)
      • supergroups or channels with enough boosts which you are an admin of
      • for bots – users who gave you the appropriate permissions

      Parameters

      • client: ITelegramClient
      • params: {
            emoji: Long | null;
            isCollectible?: boolean;
            peerId: InputPeerLike;
            until?: number | Date;
        }
        • emoji: Long | null

          Custom emoji ID or null to remove the emoji

        • OptionalisCollectible?: boolean

          When true, emoji is the ID of the collectible emoji

        • peerId: InputPeerLike

          User or chat where the emoji status should be set

        • Optionaluntil?: number | Date

          Date when the emoji status should expire (only if emoji is not null)

      Returns Promise<void>