import telebot
bot = telebot.Telebot("6963389072:AAFHE5ZidsDckztBwdHsGyt4Ktdg-rpCxJ0")
@bot.message_handler(commands=["start"])
def start_message(message):
bot.send_message(message.chat.id, 'hi')
bot.polling(none_stop=True)
C:\Users\SHADOWRADE\AppData\Local\Programs\Python\Python312\python.exe C:\Users\SHADOWRADE\Desktop\telegram_bot\pythonProject\telebot_py.py
Traceback (most recent call last):
File "C:\Users\SHADOWRADE\Desktop\telegram_bot\pythonProject\telebot_py.py", line 2, in
telebot = telebot.Telebot('6963389072:AAGjI1NvJ87cVkK7OEAbe_SGUqjn-FryXVc')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Telebot() takes no arguments