datamachine / twx.botapi

Unofficial Telegram Bot API Client
MIT License
238 stars 46 forks source link

Documentation for Message is wrong #4

Closed FichteFoll closed 9 years ago

FichteFoll commented 9 years ago

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.