Class ChatMessage

Instances of this class represents a message of the chat. For more information about how instances of this class can be obtained see getMessages or getPendingMessages.

Hierarchy

  • ChatMessage

Constructors

Properties

composer: string
data: string | ChatMessageFile
id?: string
progress: number
timestamp?: number

Methods

  • Returns a number between 0 and 100 indicating the percentage of the message that was sent. Note that text messages can only have two values: 0 and 100.

    Returns number

  • Returns the timestamp when the message was sent.

    Returns undefined | number

Generated using TypeDoc