Skip to content

Technical : Multi party conversations

Damien BUTY edited this page May 20, 2020 · 1 revision

Aido is able to create multi-party conversations, which allows several users to interact with the same view. All messages and interactions will be sent on a group conversation including :

  • The "main" user of this conversation (called the Originator)
  • Any number of additional users (conversationWith)
  • The application bot (if conversationAs is bot)
  • The administrator (if conversationAs is user)

Multi-party conversations can only be triggered with an emitter.

When a user interacts with the view, you can determine if they are the Originator by using this.isOriginator (see the Slash API reference).

By default, interactions will cause the original view to refresh for everyone, but any response can still be marked as private to the user who interacted. In this case it will be sent to them as an ephemeral message on the group conversation.