RocketChat
Allows you to send messages & attachments to RocketChat users & channels
Configuration section
[rocket_chat]
url = https://your-rocket-chat-server.com
username = **********
password = **********
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
Input | Type | Description | Options | Default |
---|---|---|---|---|
member_name_lst | List of strings | users to send messages to. | ||
message | String | Message to send |
### OUTPUT
Returns a dictionary
Key | Type | Description | Options | Default |
---|---|---|---|---|
success | Boolean | Whether the message was sent successfully or not. | ||
fail_reason | String | failure reason |
Other methods to be documented.