Configures optional settings for the underlying Bot client.
Bot options (custom fetch, retry limits, apiRoot).
This builder instance for chaining.
Constructs and returns the configured Application instance.
The newly created Application.
Configures the persistence backend for state management.
A Persistence implementation instance.
This builder instance for chaining.
Sets the Telegram bot token received from BotFather.
The bot token string.
This builder instance for chaining.
Fluent builder for constructing and configuring Application instances.
Example