Good day to everyone, I have been writing a simple bot to delete messages from one group and to forward them to another, so while executing I am facing this error, it says "TeleBot.forward_message() got an unexpected keyword argument 'chatid'" I am new to bot making so any help would be appreciated
Here is my code
import telebot
from telebot import types
bot = telebot.TeleBot('tocken')
@bot.message_handler(commands=['start'])
def start(message):
bot.send_message(message.chat.id, 'Hi, ready to delete')
if ':' not in message.text:
bot.forward_message(chatid='group chat id',
fromchatid=message.chat.id, messageid=message.message_id)
bot.delete_message(chatid=message.chat.id, messageid=message.message_id)
bot.polling(none_stop=True)