notice

This is unreleased documentation for Rasa Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).

Version: Main/Unreleased

rasa.core.channels.mattermost

MattermostBot Objects

class MattermostBot(OutputChannel)

A Mattermost communication channel.

token_from_login

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

Retrieve access token for mattermost user.

send_image_url

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

Sends an image.

send_text_with_buttons

async def 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__

def __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: