Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChatEvent

name

ChatEvent

Hierarchy

Index

Methods

getMessage

  • getMessage(): string

getSubject

  • getSubject(): string
  • Returns the subject to which the event relates.

    Returns string

    the subject

getTime

  • getTime(): string
  • Returns the time when the chat event was raised.

    The time stamp is in the format HH:MM:SS.

    Returns string

    The timestamp.

getUpdateType

  • Returns the type of chat event that this event represents.

    Returns ChatEventType

    The event type.

getUser

  • getUser(): string
  • Returns the username of the user who generated this chat event.

    Returns string

    The username.

isImage

  • isImage(): boolean
  • Returns whether this was an image event or an update event.

    If this method returns true, all data for the subject is contained within this event; you should therefore clear the application's caches of any current data for the subject of this event before refreshing them with the new data.

    Returns boolean

    true if this event contains all data for the subject (an "image"), false if the event contains only some of the data (an "update").

Generated using TypeDoc