Converse converse.js

Namespace: presence

_converse.api.user.presence

Methods

(static) send(typeopt, toopt, statusopt, child_nodesopt)

Send out a presence stanza

Parameters:
Name Type Attributes Description
type String <optional>
to String <optional>
status String <optional>

An optional status message

child_nodes Array.<Element> | Array.<Strophe.Builder> | Element | Strophe.Builder <optional>

Nodes(s) to be added as child nodes of the presence XML element.

Source:

(static) send(typeopt, toopt, statusopt, child_nodesopt)

Send out a presence stanza

Parameters:
Name Type Attributes Description
type String <optional>
to String <optional>
status String <optional>

An optional status message

child_nodes Array.<Element> | Array.<Strophe.Builder> | Element | Strophe.Builder <optional>

Nodes(s) to be added as child nodes of the presence XML element.

Source:

_converse.api.user.presence

Methods

(static) send(typeopt, toopt, statusopt, child_nodesopt)

Send out a presence stanza

Parameters:
Name Type Attributes Description
type String <optional>
to String <optional>
status String <optional>

An optional status message

child_nodes Array.<Element> | Array.<Strophe.Builder> | Element | Strophe.Builder <optional>

Nodes(s) to be added as child nodes of the presence XML element.

Source:

(static) send(typeopt, toopt, statusopt, child_nodesopt)

Send out a presence stanza

Parameters:
Name Type Attributes Description
type String <optional>
to String <optional>
status String <optional>

An optional status message

child_nodes Array.<Element> | Array.<Strophe.Builder> | Element | Strophe.Builder <optional>

Nodes(s) to be added as child nodes of the presence XML element.

Source: