The message format that we get over the wire from the Slack event stream has user and channel names in some kind of ID format - e.g., "C12345" for a channel. The bot library provides a way to look these up but it requires state from the bot itself. I propose to do the lookup on message receipt and add the human-readable names directly to our Event struct.
The message format that we get over the wire from the Slack event stream has user and channel names in some kind of ID format - e.g., "C12345" for a channel. The bot library provides a way to look these up but it requires state from the bot itself. I propose to do the lookup on message receipt and add the human-readable names directly to our
Event
struct.