I have a slack POST api call which I am doing from my application:-
slack_client.api_call("chat.postMessage", channel=channel, text=response, as_user=False, username="Slack bot")
The issue which I am encountering is that the response may contain error logs and can have text like
Error in /:hive:/SomeError....
When this gets posted to slack, it thinks of :hive: as an emoji and prints emoji of hive instead of :hive:, which I don't want.
How to do this? I have tried putting mrkdwn as false, but it didn't help. Can someone help me out here?