Найти - Пользователи
Полная версия: Не рабочий ECHO Бот телеграм.
Начало » Python для новичков » Не рабочий ECHO Бот телеграм.
1
Rovan
Сам код:
import telebot

bot = telebot.TeleBot(“TOKEN”)

@bot.message_handler(commands
def send_echo(message):
bot.send_message(message.chat.id, message.text)
bot.polling ( none_stop = True)

Ошибка в консоли: (прикреплённый файл)
py.user.next
Не подключился ты к серверу. Открывай документацию к Telegram, ищи минимальный пример и подключайся. Их навалом в инете, так как ты не один, кто использует боты Telegram.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB