Skip to content

How to have multiple users participating on the same conversation? #145

@ejadib

Description

@ejadib

Hi,

I'm building a simple bot in C# that will be used on Slack. The idea is to send a message to the bot with a list of users that should participate of the conversation, something like:

@bot start @user1 @user2 @user3

Then the idea is to have the bot asking each of the users mentioned to answer some questions. So far I was able to get that running only for the user than initiates the conversation.

This should emulate the flow I'm envisioning:

user1: @bot colors @user1 @user2
bot: OK, tell me your favorite colors. @user1 you start:
user1: red
user1: blue
user1: done => this triggers the end of @user1 answers
bot: ok, great. your fav colors are red and blue.
bot: @user2 you go next
user2: green =====> here is where I'm stuck. even if @user2 responds or send a message the bot is not recognizing that message as part of the same conversation.

So the question: Is it possible to add users to a conversation based on the mentions in the first message so the bot can recognize a message of a user different from the one that initiates the conversation?

Thanks in advance!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions