The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/app/integrations/lib/rocketchat.js

67 lines
1.3 KiB

export const integrations = {
outgoingEvents: {
sendMessage: {
label: 'Integrations_Outgoing_Type_SendMessage',
value: 'sendMessage',
use: {
channel: true,
triggerWords: true,
targetRoom: false,
},
},
fileUploaded: {
label: 'Integrations_Outgoing_Type_FileUploaded',
value: 'fileUploaded',
use: {
channel: true,
triggerWords: false,
targetRoom: false,
},
},
roomArchived: {
label: 'Integrations_Outgoing_Type_RoomArchived',
value: 'roomArchived',
use: {
channel: false,
triggerWords: false,
targetRoom: false,
},
},
roomCreated: {
label: 'Integrations_Outgoing_Type_RoomCreated',
value: 'roomCreated',
use: {
channel: false,
triggerWords: false,
targetRoom: false,
},
},
roomJoined: {
label: 'Integrations_Outgoing_Type_RoomJoined',
value: 'roomJoined',
use: {
channel: true,
triggerWords: false,
targetRoom: false,
},
},
roomLeft: {
label: 'Integrations_Outgoing_Type_RoomLeft',
value: 'roomLeft',
use: {
channel: true,
triggerWords: false,
targetRoom: false,
},
},
userCreated: {
label: 'Integrations_Outgoing_Type_UserCreated',
value: 'userCreated',
use: {
channel: false,
triggerWords: false,
targetRoom: true,
},
},
},
};