Telegram
0
Вклад в тег
import telepot
basic_auth = ('username', 'password')
SetProxy = telepot.api.set_proxy("http://10.10.10.10:1080", basic_auth)
bot = telepot.Bot('11111111:xxxxxxxxxxxxxxxxxxxxxxxxxxxx')
print(bot.getMe())