Parsing issue for channels-history
paurkedal opened this issue · comments
I hit a Parse failure: Slacko.message_obj.user in channels_history
on the following message ("bot_id" and "pretext" anonymised):
{
"ok":true,
"latest":"1526552700.0",
"oldest":"1526552640.0",
"messages": [
{ "text":"",
"bot_id":"B00000000",
"mrkdwn":true,
"attachments": [
{ "fallback":"Suggested topic: cloud extension",
"text":"Suggested topic: cloud extension",
"pretext":"[...]",
"id":1,
"color":"8daec2"
}
],
"type":"message",
"subtype":"bot_message",
"ts":"1526552662.000430"
}
],
"has_more":false,
"is_limited":true
}
It looks like message_obj.user
is not mandatory.
@paurkedal Thanks for the report. Can you check out whether #26 solves the issue for you?