You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to interrupt the Conversation when receiving any command command or text route。
Because many users are halfway through the operation. It may have been replaced by other operations and no termination command was sent.
The text was updated successfully, but these errors were encountered:
That is to say, I must write the exit message routing in
// Exits is the list of handlers to exit the current conversation partway (eg /cancel commands). This returns// EndConversation() by default, unless otherwise specified.Exits[]ext.Handler
What I expect is that sending /start or other commands will interrupt the Conversation. I have many Conversations and I can't write all the routing commands for each one. Are there any other solutions or cases?
It's up to you to keep track of which exits to handle - thats not something the library can handle, as all conversations are entirely separate from the library's perspective
I want to interrupt the Conversation when receiving any command command or text route。
Because many users are halfway through the operation. It may have been replaced by other operations and no termination command was sent.
The text was updated successfully, but these errors were encountered: