bqv/weechat-slack

Message shares not implemented

Closed this issue · 1 comments

bqv commented

Not even documented in the API. Seems to follow this as syntax:

{
	"type": "message",
	"user": "U564YE3LH",
	"text": "test",
	"team": "T4YM0ADL1",
	"attachments": [{
		"fallback": "[May 16th, 2018 9:15 PM] slackbot: 2",
		"ts": "1526501729.000255",
		"msg_subtype": "slackbot_response",
		"author_id": "USLACKBOT",
		"author_subname": "slackbot",
		"channel_id": "C7CRW8C1F",
		"channel_name": "bot-testing",
		"is_msg_unfurl": true,
		"text": "2",
		"author_name": "slackbot",
		"author_link": "https:\/\/hacksoc-york.slack.com\/team\/USLACKBOT",
		"author_icon": "https:\/\/a.slack-edge.com\/7f1a0\/plugins\/slackbot\/assets\/service_48.png",
		"mrkdwn_in": ["text"],
		"color": "D0D0D0",
		"from_url": "https:\/\/hacksoc-york.slack.com\/archives\/C7CRW8C1F\/p1526501729000255",
		"is_share": true,
		"footer": "Posted in #bot-testing"
	}],
	"channel": "C7CRW8C1F",
	"event_ts": "1526552623.000458",
	"ts": "1526552623.000458"
}
bqv commented

Correction, found in the api docs https://api.slack.com/docs/message-attachments