Invite agent to channel - GraphQL API

1 Comments

  • Sutrisno Suryajaya
    Comment actions Permalink

    Hi Prakoso,

     

    What you are saying is correct. Invite agent does not respect the agent chat limit. Unfortunately, there is no quick workaround for this, except to make the bot maintain agents state (i.e. how many ongoing conversations each agent have). This can be achieved by making the bot listen to every incoming chats (via listenVisitorChannel mutation) and make a chatActivity subscription. By doing these, the bot can listen to channel activities (member leaving and joining the channel) without the need to be inside/join the chat.

    0

Please sign in to leave a comment.

Powered by Zendesk