enterConversation method
Enters a conversation by name.
This starts a new conversation with the specified name. The conversation function must be registered using createConversation.
Example:
await ctx.conversation.enter('greeting');
Implementation
Future<void> enterConversation(String conversationName) async {
final plugin = ConversationPlugin.instance;
if (plugin == null) {
throw TeleverseException(
'ConversationPlugin not installed',
description: 'Install ConversationPlugin before starting conversations',
type: TeleverseExceptionType.invalidParameter,
);
}
await (plugin).enterConversation(conversationName, this);
}