Set and retrieve the user's custom status message.
- Source:
Methods
(async, static) get() → {Promise.<string>}
- Source:
Returns:
The status message
- Type
- Promise.<string>
Example
const message = _converse.api.user.status.message.get()
(async, static) get() → {Promise.<string>}
Returns:
The status message
- Type
- Promise.<string>
Example
const message = _converse.api.user.status.message.get()
(async, static) set(status)
Parameters:
Name | Type | Description |
---|---|---|
status |
string | The status message |
- Source:
Example
_converse.api.user.status.message.set('In a meeting');
(async, static) set(status)
Parameters:
Name | Type | Description |
---|---|---|
status |
string | The status message |
Example
_converse.api.user.status.message.set('In a meeting');