Answer the question
In order to leave comments, you need to log in
Invalid Syntax functions of the telebot library. How to fix?
import telebot
bot=telebot.TeleBot('токен')
keyboard1=telebot.types.ReplyKeyboardMarkup(True, True)
keyboard1.row('Создать комбинацию', 'Про бота')
@bot.message_handler(commands=['start'])
def start_message(message):
bot.send_message(message.chat.id, 'Привет, это бот для создания комбинации')
bot.polling(none_stop=True)
Answer the question
In order to leave comments, you need to log in
bot.send_message(message.chat.id, 'Hi, this is a bot created for> <---- crookedly copied the code
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question