mtproto
mtproto copied to clipboard
[BUG]: Wrong comments in generated code
Description
All methods in telegram/methods_gen.go
have the same comment Sends a Telegram Passport authorization form, effectively sharing data with the service
.
It's already hard enough to use this library as it is but having no actual comments about what certain methods do makes it even harder. And always having to search the exact method in the telegram api specs is kinda annoying. Aren't there descriptions of the methods in the .tl
files which can be adopted?
There are no description in .tl
, but it is possible to parse documentation and inject comments like it is done with gotd/getdoc in gotd.