我正在尝试chat_id
为我的 Telegram 机器人制作一个列表,这将允许我的机器人向列表中的所有人发送一条消息chat_id
。这是我尝试过的,
listofids = ['191929390', '102938483']
bot.sendMessage(listofids, str("worked"))
但我收到了这个错误
telepot.exception.TelegramError: ('Bad Request: chat not found', 400, {'ok': False, 'error_code': 400, 'description': 'Bad Request: chat not found'})
那么这里有什么问题以及如何解决这个问题?