python telebot got unexpected response
问题 I have been using my Telegram bot for sending me different notifications from my desktop computer using python's telebot library. Everything was working properly for quite a long time, but one day it stopped working. Here's the code (Python 2.7): import telebot import socket TELEBOT_TOKEN = '<token>' CHAT_ID = <chat id> bot = telebot.TeleBot(TELEBOT_TOKEN) def notify(message): bot.send_message(CHAT_ID, 'Notification from ' + socket.gethostname() + ':\n' + message) notify('Hello world!') When