不能用电报轮询我的pytelegrambot

2024-06-07 16:44:01 发布

您现在位置:Python中文网/ 问答频道 /正文

嗨,我是伊朗人,在我的国家电报不起作用。现在我有电报中机器人的代码:

import time
from telebot import apihelper
bot_token='1172932288:AAErXFDp0FWITHbb4tgCt7MxQ33MV2nctoc'
bot = telebot.TeleBot(token=bot_token)


@bot.message_handler(commands=['start'])
def send_welcome(message):
    bot.reply_to(message, "hessssam, how are you doing?")

bot.polling()
bot.polling(timeout=200)

我有电报里的机器人,但不要用。 事实上,我连电报都不能接! 请帮帮我


Tags: 代码fromimporttokenmessagetimebot机器人

热门问题