Message Menu in Slack

Yes… I tried using Creating a graph in the custom action and rendering the graph to the UI but i’m not getting any attachment in chat window and also not getting any error. Here is the code

   from rasa_core.channels.slack import SlackBot
   my_slack = SlackBot('slack token')
   my_slack.send_attachment(recipient_id=None,attachment='attachment path')