csaftoiu / slack-email-digest

Scripts to summarize Slack chat history into an email digest.
The Unlicense
6 stars 1 forks source link

Better Message-ID handling #10

Closed csaftoiu closed 8 years ago

csaftoiu commented 8 years ago

Right now messages ids vary only by date. They don't vary by slack group name or channel. They should, so separate threads are kept separate.

slack.team.info().body['id'] gives the unique team id.

srid commented 8 years ago

Message-ID can be computed using the combination of:

Therefore, this is not necessarily blocked by #2?

csaftoiu commented 8 years ago

How do I get the slack group name from the API? I was looking for that route but couldn't find it.

srid commented 8 years ago

Maybe this? https://api.slack.com/methods/team.info

csaftoiu commented 8 years ago

Ah yes! I think I had seen it but for some reason thought it was something else. Maybe I confused it with user groups.

Indeed, in that case this isn't blocked by #2.

csaftoiu commented 8 years ago

Resolved by #18.