class_docstr: A Mattermost communication channel.
class_docstr_tok: ["A","Mattermost","communication","channel","."]
code: def __init__(
      self,
      url: Text,
      token: Text,
      bot_channel: Text,
      webhook_url: Optional[Text],
  ) -> None:
      self.url = url
      self.token = token
      self.bot_channel = bot_channel
      self.webhook_url = webhook_url
  
      super(MattermostBot, self).__init__()
  
imports: import json
  import logging
  import requests
  from requests import Response
  from sanic import Blueprint, response
  from sanic.request import Request
  from typing import Text, Dict, Any, List, Callable, Awaitable, Optional
  from rasa.core.channels.channel import UserMessage, OutputChannel, InputChannel
  from sanic.response import HTTPResponse
label_desc: Use image node_id 3 to create a new MattermostBot object from inherited base classes: OutputChannel with example: obj = MattermostBot(url, token, bot_channel, webhook_url)