Converse converse.js

Namespace: Message

_converse.Message

Represents a non-MUC message. These can be either chat messages or headline messages.

Source:

Example

const msg = new _converse.Message({'message': 'hello world!'});

Methods

(private) setTimerForEphemeralMessage() → {Boolean}

Sets an auto-destruct timer for this message, if it's is_ephemeral.

Source:
Returns:
  • Indicates whether the message is ephemeral or not, and therefore whether the timer was set or not.
Type
Boolean