seratch / ChatGPT-in-Slack

Swift demonstration of how to build a Slack app that enables end-users to interact with a ChatGPT bot
MIT License
441 stars 168 forks source link

[Feature Request] Allow direct message conversation threads #23

Closed zachd closed 1 year ago

zachd commented 1 year ago

Hi, thanks for the bot!

A request we had is to allow direct messages with the bot in the "Messages Tab". I see this is disabled for now.

Is there a way to support direct IMs with the bot using the Slack Conversations API, and respond in threads as if it was a normal channel?

Regards, Zach

seratch commented 1 year ago

Hi @zachd, thanks for writing in. This should be a good feature addition. I will look into this when I have time.

If you want to implement this on your own, subscribing to messages.im events and check the channel_type in message events would be the way to go.