Class: Message

Photon.Chat. Message

Encapsulates chat message data.

new Message()

Source:
  • Photon-Javascript_v4-0-0-7_Cloud_SDK.js, line 4148

Methods

getContent() → {any}

Returns message content.

Source:
  • Photon-Javascript_v4-0-0-7_Cloud_SDK.js, line 4165
Returns:
Message content.
Type
any

getSender() → {string}

Returns message sender.

Source:
  • Photon-Javascript_v4-0-0-7_Cloud_SDK.js, line 4157
Returns:
Message sender.
Type
string