createBot<TContextData = void>(options: CreateBotOptions<TContextData>): TContextData extends void ? BotWithVoidContextData : Bot<TContextData>
Creates a Bot instance.
options: CreateBotOptions<TContextData>
The options for creating the bot.
TContextData extends void ? BotWithVoidContextData : Bot<TContextData>
The created bot instance.