Pure Python 3 MTProto API Telegram client library, for bots too!
-
Updated
Apr 21, 2021 - Python
Telegram is a non-profit, cloud-based instant messaging service. It offers open source clients for a multitude of operating systems and powerful APIs that allow developers to create their own clients and chat bots.
It’s been a while but telegram now sends the user locale as part of the message. I always thought of doing this but thought it would not be useful... until I started receiving comments from admins from foreign groups in which users might have trouble with the default language of GB (English).
Description
After getting PHONE_MIGRATE_5 err, it would call reconnect with new dc address from dclist, but the format of the ipaddress in dclist is wrong.
in telegram/common.go

func: NewClient
![image](https://user-images.githubusercontent.com/3880276/113554143-6c51ea80-