notice

This is documentation for Rasa Documentation v2.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (3.x).

Version: 2.x

rasa.core.channels.mattermost

MattermostBot Objects

class MattermostBot(OutputChannel)

A Mattermost communication channel

token_from_login

| @classmethod
| token_from_login(cls, url: Text, user: Text, password: Text) -> Optional[Text]

Retrieve access token for mattermost user.

send_image_url

| async send_image_url(recipient_id: Text, image: Text, **kwargs: Any) -> None

Sends an image.

send_text_with_buttons

| async send_text_with_buttons(recipient_id: Text, text: Text, buttons: List[Dict[Text, Any]], **kwargs: Any, ,) -> None

Sends buttons to the output.

MattermostInput Objects

class MattermostInput(InputChannel)

Mattermost input channel implemenation.

__init__

| __init__(url: Text, token: Text, webhook_url: Text) -> None

Create a Mattermost input channel. Needs a couple of settings to properly authenticate and validate messages.

Arguments: