Class ChatBoostRemoved

Hierarchy (view full)

  • Base
    • ChatBoostRemoved

Constructors

Properties

chat: Chat

Chat which was boosted

id: string

Unique identifier of the boost

removedUnixTime: number

Point in time (Unix timestamp) when the boost was removed

Source of the removed boost

Accessors

  • get removedTimestamp(): number
  • Return the timestamp boost was removed, in milliseconds

    Returns number

Methods

  • Protected

    Patches the current instance with new data

    Parameters

    • data: Record<string, any>

      The data to patch the instance with

    Returns Record<string, any>

    The patched data

  • Protected

    Updates the current instance with new data and returns a clone of the updated instance

    Parameters

    • data: Record<string, any>

      The data to update the instance with

    Returns Base

    A clone of the updated instance