class_docstr: Input channel base class.
docstr: Extracts additional information from the incoming request.
  
   Implementing this function is not required. However, it can be used to extract
   metadata from the request. The return value is passed on to the
   ``UserMessage`` object and stored in the conversation tracker.
  
  Args:
      request: incoming request with the message of the user
  
  Returns:
      Metadata which was extracted from the request.
docstr_tok: ["Extracts","additional","information","from","the","incoming","request",".","Implementing","this","function","is","not","required",".","However",",","it","can","be","used","to","extract","metadata","from","the","request",".","The","return","value","is","passed","on","to","the","``","UserMessage","``","object","and","stored","in","the","conversation","tracker",".","Args",":","request",":","incoming","request","with","the","message","of","the","user","Returns",":","Metadata","which","was","extracted","from","the","request","."]
code: def get_metadata(self, request: Request) -> Optional[Dict[Text, Any]]:
      """Extracts additional information from the incoming request.
  
       Implementing this function is not required. However, it can be used to extract
       metadata from the request. The return value is passed on to the
       ``UserMessage`` object and stored in the conversation tracker.
  
      Args:
          request: incoming request with the message of the user
  
      Returns:
          Metadata which was extracted from the request.
      """
      pass
  
imports: import json
  import logging
  import uuid
  import jwt
  from sanic import Sanic, Blueprint
  from sanic.request import Request
  from typing import Text, List, Dict, Any, Optional, Callable, Iterable, Awaitable, NoReturn
  from rasa.cli import utils
  from rasa.shared.constants import DOCS_BASE_URL, DEFAULT_SENDER_ID
  from rasa.core.constants import BEARER_TOKEN_PREFIX
  from rasa.shared.exceptions import RasaException
label_desc: Use image node_id 7 for calling the InputChannel obj's underlying member method code with example usage: obj.get_metadata(request) without return types