Class MessageReactionCountUpdated

Hierarchy (view full)

  • Base
    • MessageReactionCountUpdated

Constructors

Properties

chat: Chat

The chat containing the message

createdUnixTime: number

Date of the change in Unix time

id: string

Unique message identifier inside the chat

reactions: ReactionCount[]

List of reactions that are present on the message

Accessors

  • get createdTimestamp(): number
  • Return the timestamp change, 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