KurimuzonAkuma / pyrogram

Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
https://pyrogram.org
GNU Lesser General Public License v3.0
358 stars 96 forks source link

Fix incorrect return type for start_bot method. #91

Closed nimaxin closed 1 month ago

nimaxin commented 2 months ago

The start_bot method in pyrogram.Client.start_bot was incorrectly annotated to return bool, but it returns an instance of pyrogram.types.Message. This PR corrects the return type annotation to Message.