Send bulk message to the given user ids.
- Source:
- Copyright:
- 2019 Shamim Rezaie
- 2019 Shamim Rezaie
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Methods
(inner) sendMessage(messageText, users) → {Promise}
Send a message to these users.
Parameters:
Name | Type | Description |
---|---|---|
messageText |
String | |
users |
Array.<Number> |
Returns:
- Type
- Promise
(inner) showModal(users, callback) → {Promise}
Show the send message popup.
Parameters:
Name | Type | Description |
---|---|---|
users |
Array.<int> | |
callback |
function | A callback to apply after the form is closed. |
Returns:
- Type
- Promise