Class: Message

Photon.Chat. Message

Encapsulates chat message data.

new Message()

Source:
  • Photon-Javascript_SDK.js, line 4249

Methods

getContent() → {any}

Returns message content.

Source:
  • Photon-Javascript_SDK.js, line 4267
Returns:
Message content.
Type
any

getSender() → {string}

Returns message sender.

Source:
  • Photon-Javascript_SDK.js, line 4258
Returns:
Message sender.
Type
string