cancelBasedOnInput
Cancels getClassById conversation based on user input.
Return
True to cancel the conversation, False otherwise.
Parameters
context
Context information about the conversation.
input
The input text from the user.