chore(docs): fix defaults.rst (#1541)

Fix parameter name `default`.
This commit is contained in:
Chuangbo Li 2024-07-14 21:54:01 +08:00 committed by GitHub
parent ac96f0d233
commit a3d6c1615e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ Here is an example of setting default parse mode for all requests to Telegram Bo
bot = Bot( bot = Bot(
token=..., token=...,
defaults=DefaultBotProperties( default=DefaultBotProperties(
parse_mode=ParseMode.HTML, parse_mode=ParseMode.HTML,
) )
) )