why is my bot complaining about the id if it is specified correctly.
`import telebot
from telebot import types
bot = telebot.TeleBot (‘token’)
@bot.message_handler(content_types=[“rules”])
def rules(message):
bot.send_message(message.chat.id, message.text)
if name == ‘main‘:
chat = “2112989841”
bot.forward_message(‘id, 2112989841, 165’)
bot.polling(none_stop=True)`
I expected that a person would enter a command and the bot would forward the desired messageyour text
root_GetDLie404 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.