As you probably noticed after writing the documentation, from is a keyword and can not be used as attribute. In the source you have this as Message.sender, but I could also imagine this as Message.from_user (as it is used by another wrapper).
Edit: While I'm at it, TelegramBot.update_bot_info doesn't have a docstring at all.
As you probably noticed after writing the documentation,
from
is a keyword and can not be used as attribute. In the source you have this asMessage.sender
, but I could also imagine this asMessage.from_user
(as it is used by another wrapper).Edit: While I'm at it,
TelegramBot.update_bot_info
doesn't have a docstring at all.