exactly 'str' object.
import telebot
bot = telebot.TeleBot = ('api')
@bot.message_handler(content_types=['text'])
def get_text_messages(message):
if message.text == "hello":
bot.send_message(message.from_user.id, "hello")
bot.polling(none_stop=True, interval=0)
what`s wrong?
I'm trying to create a telegram bot for the first time