json_keyboard = json.dumps({'keyboard': [['A button'], ['B button']],
    'one_time_keyboard': False, 'resize_keyboard': True})
TelegramAPI.post(TELEGRAM_URL + 'sendMessage', data=dict(chat_id=CHAT_ID,
    text='Has to be non-empty', reply_markup=json_keyboard))
API-клавиатура Telegram-бота