Link Search Menu Expand Document (external link)

RocketChat

Allows you to send messages & attachments to RocketChat users & channels

https://rocket.chat


Configuration section

[rocket_chat]
url      = https://your-rocket-chat-server.com
username = **********
password = **********

A full config file sample

Usage
from FlexibleNetwork.Integrations import RocketChat_API
rocket = RocketChat_API()

Methods

send_message()


Allows you to send a RocketChat message to a list of users

### INPUT

InputTypeDescriptionOptionsDefault
member_name_lstList of stringsusers to send messages to.  
messageStringMessage to send  

### OUTPUT

Returns a dictionary

KeyTypeDescriptionOptionsDefault
successBooleanWhether the message was sent successfully or not.  
fail_reasonStringfailure reason  

Other methods to be documented.