Updated Builder Pattern (markdown)

Bibo-Joshi 2022-05-29 15:47:44 +02:00
parent 4218690caa
commit 42976ac0f7

@ -23,7 +23,7 @@ application = Application.builder().token('TOKEN').build()
you will automatically have you will automatically have
* the `Updater` available as `application.updater` * the `Updater` available as `application.updater`
* the `Bot` available as `application.(updater.)bot` * the `Bot` available as `application.bot` or `application.updater.bot` (both are the same object)
* a `BaseRequest` object initialized and ready to be used by the `application.bot` * a `BaseRequest` object initialized and ready to be used by the `application.bot`
* several other components & sane default values set up. * several other components & sane default values set up.