How should I remove the Tdlib version information at the end of the login information?
When I log in using the Tdlib library, it always adds the Tdlib + version number after my device information. I want it to be my own app name. It's so ugly. Where should I remove it?
tg = Telegram(
...
device_model='whatever'
...
)
Usually I do:
import os
scriptname = os.path.basename(__file__)
tg = Telegram(
...
device_model=scriptname
...
)
String 'Tdlib + version' is added automatically by the TDLib library, you can remove it by editing TDlib source code and compile it, there is no other way to remove it
https://github.com/tdlib/td/blob/521aed8/td/telegram/Td.cpp#L1444-L1449
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.