Ualikhan Mamytbek
import telebot
from telebot import types
markup = types.ReplyKeyboardMarkup(row_width=2)
itembtn1 = types.KeyboardButton('Pribet')
itembtn2 = types.KeyboardButton('ChaoKakao')
markup.add(itembtn1, itembtn2)
TOKEN = '1111349137:AAEcZpyGC9tvrGwzoTXqej0WqOoUVksTm8A'
bot = telebot.TeleBot(TOKEN)
@bot.message_handler(content_types=['start'])
def welcome_message(message):
bot.send_message(chat_id, 'Hello.I am your imaginary teacher')
def lalala(message):
bot.send_message(chat_id, "Choose :", reply_markup=markup)
if markup == itembtn1:
bot.send_message(chat_id, 'Hello my creator!')
elif markup == itembtn2:
bot.send_message(chat_id, 'Good bye my creator')
bot.polling()
Еще и токен спалил, у