4040-chat_sendQueued #993
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#993
Loading…
Reference in New Issue
No description provided.
Delete Branch "4040-chat_sendQueued"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -2,3 +1,3 @@
module.exports = Self => {
Self.remoteMethodCtx('send', {
description: 'Send a RocketChat message',
description: 'Insert in model Chat',
Creates a direct message in the chat model for a user or a channel for example
@ -3,3 +1,3 @@
module.exports = Self => {
Self.remoteMethodCtx('sendCheckingPresence', {
description: 'Sends a RocketChat message to a connected user or department channel',
description: 'Insert in model Chat',
this description MUST be different from the previously review endpoint.
Creates a message in the chat model checking the user status for example
@ -96,0 +53,4 @@
attempts: 0
});
return true;
be consistent about what your endpoints return.
for example back/methods/chat/send.js returns true or false and this one only returns true.
endpoints can also return the created instance or false.