How should I remove the Tdlib version information at the end of the login information?
Nekohy opened this issue · 1 comments
Nekohy commented
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?
asarubbo commented
tg = Telegram(
...
device_model='whatever'
...
)
Usually I do:
import os
scriptname = os.path.basename(__file__)
tg = Telegram(
...
device_model=scriptname
...
)