mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
Updated Builder Pattern (markdown)
parent
4218690caa
commit
42976ac0f7
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ application = Application.builder().token('TOKEN').build()
|
|||
you will automatically have
|
||||
|
||||
* 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`
|
||||
* several other components & sane default values set up.
|
||||
|
||||
|
|
Loading…
Reference in a new issue