Converse converse.js

Namespace: Message

_converse.Message

Mixin which turns a ModelWithContact model into a non-MUC message. These can be either chat, normal or headline messages.

Source:

Example

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

Methods

(private) sendSlotRequestStanza()

Send out an IQ stanza to request a file upload slot. https://xmpp.org/extensions/xep-0363.html#request

Source:

(private) sendSlotRequestStanza()

Send out an IQ stanza to request a file upload slot. https://xmpp.org/extensions/xep-0363.html#request

Source:

(private) setTimerForEphemeralMessage()

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

Source:

(private) setTimerForEphemeralMessage()

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

Source:

_converse.Message

Mixin which turns a ModelWithContact model into a non-MUC message. These can be either chat, normal or headline messages.

Source:

Example

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

Methods

(private) sendSlotRequestStanza()

Send out an IQ stanza to request a file upload slot. https://xmpp.org/extensions/xep-0363.html#request

Source:

(private) sendSlotRequestStanza()

Send out an IQ stanza to request a file upload slot. https://xmpp.org/extensions/xep-0363.html#request

Source:

(private) setTimerForEphemeralMessage()

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

Source:

(private) setTimerForEphemeralMessage()

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

Source: