Slackbot doesn't stick to the slack api
Closed this issue · 0 comments
bqv commented
Example message.bot_message
:
{
"text": "Your file was uploaded \u2014 it\u2019s safe and sound in Slack. Unfortunately your workspace doesn\u2019t have any storage space left. To get more space, you can <https:\/\/hacksoc-y ork.slack.com\/pricing?ui_element=5&ui_step=70|upgrade to a paid account> or delete some of your older files.",
"is_ephemeral": true,
"username": "slackbot",
"type": "message",
"subtype": "bot_message",
"user": "USLACKBOT",
"channel": "C501C2XU6",
"ts": "1525883688.000000",
"event_ts": "1525883688.000225"
}
Expected format:
{
"type": "message",
"subtype": "bot_message",
"ts": "1358877455.000010",
"text": "Pushing is the answer",
"bot_id": "BB12033",
"username": "github",
"icons": {}
}
(Thank you for this thoroughly well designed api, slack.)