Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
GNU Lesser General Public License v3.0
308
stars
84
forks
source link
fix: type annotation on `Message.reply_document` #83
Closed
asdfzxcvbn closed 2 weeks ago
this method is a bound method for
Client.send_document
, where its type annotation forthumb
isUnion[str, BinaryIO]
therefore, the type annotation in
Message.reply_document
should not differ