class_docstr: Mattermost input channel implemenation.
class_docstr_tok: ["Mattermost","input","channel","implemenation","."]
docstr: Create a Mattermost input channel.
  Needs a couple of settings to properly authenticate and validate
  messages.
  
  Args:
      url: Your Mattermost team url including /v4 example
          https://mysite.example.com/api/v4
      token: Your mattermost bot token
      webhook_url: The mattermost callback url as specified
          in the outgoing webhooks in mattermost example
          https://mysite.example.com/webhooks/mattermost/webhook
docstr_tok: ["Create","a","Mattermost","input","channel",".","Needs","a","couple","of","settings","to","properly","authenticate","and","validate","messages",".","Args",":","url",":","Your","Mattermost","team","url","including","\/v4","example","https",":","\/\/mysite.example.com\/api\/v4","token",":","Your","mattermost","bot","token","webhook_url",":","The","mattermost","callback","url","as","specified","in","the","outgoing","webhooks","in","mattermost","example","https",":","\/\/mysite.example.com\/webhooks\/mattermost\/webhook"]
code: def __init__(self, url: Text, token: Text, webhook_url: Text) -> None:
      """Create a Mattermost input channel.
      Needs a couple of settings to properly authenticate and validate
      messages.
  
      Args:
          url: Your Mattermost team url including /v4 example
              https://mysite.example.com/api/v4
          token: Your mattermost bot token
          webhook_url: The mattermost callback url as specified
              in the outgoing webhooks in mattermost example
              https://mysite.example.com/webhooks/mattermost/webhook
      """
      self.url = url
      self.token = token
      self.webhook_url = webhook_url
  
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 MattermostInput object from inherited base classes: InputChannel with example: obj = MattermostInput(url, token, webhook_url)