 
      
    Python
    3
    Вклад в тег
    
      
      
    
  
  
def jordan(bot, update):
    chat_id = update.message.chat.id
    with open('JordanPeterson.jpg', 'rb') as jordan_picture:
        caption = "<a href='https://twitter.com/jordanbpeterson'>Jordan B. Peterson</a>"
        bot.send_photo(
            chat_id, 
            photo=jordan_picture, 
            caption=caption,
            parse_mode=ParseMode.HTML
        )msg = <b>Jordan B. Peterson</b>      @bot.message_handler(commands=['start'])
def first(message):
    service = types.ReplyKeyboardMarkup(True, True)
    service.row('Удалить клаву нахуй')
    service.row('Telegraph')
    service.row('Погода')
    bot.send_message(message.chat.id, 'Что будем делать?', reply_markup=service)
@bot.message_handler(content_types=['text'])
def handle_text(message):
    if message.text == 'Удалить клаву нахуй':
        a = types.ReplyKeyboardRemove()
        bot.send_message(message.chat.id, 'как хош', reply_markup=a)