Short and sweet post. I searched around and could not find anything on this topic, so hopefully the information below helps someone.

Slack bots are (were?) all the rage. If you are building a Slack bot and sending some messages in channels, and realize that there is no documentation on the nomenclature for the Slack channel IDs, then here ‘tis:

  • D prefix = Direct message
  • G prefix = Group/private channel
  • P prefix = Public channel