def main_page_keyboard(message):
    user = TelegramUsers.get(TelegramUsers.telegram_id == message.from_user.id)
    keyboard = ReplyKeyboardMarkup()

    btn_useful = KeyboardButton(emojize(f":high_brightness: {_(user.language_code, strings.USEFUL)}", use_aliases=True))
    btn_internet = KeyboardButton(
        emojize(f":globe_with_meridians: {_(user.language_code, strings.INTERNET)}", use_aliases=True))
    btn_communication = KeyboardButton(
        emojize(f":speech_balloon: {_(user.language_code, strings.COMMUNICATION)}", use_aliases=True))
    btn_news = KeyboardButton(emojize(f":loudspeaker: {_(user.language_code, strings.NEWS)}"))
    btn_services = KeyboardButton(emojize(f":computer: {_(user.language_code, strings.SERVICES)}", use_aliases=True))
    btn_rates = KeyboardButton(emojize(f":clipboard: {_(user.language_code, strings.RATES)}", use_aliases=True))
    btn_balance = KeyboardButton(emojize(f":moneybag: {_(user.language_code, strings.BALANCE)}", use_aliases=True))

    btn_russian = KeyboardButton(text=emojize('🇷🇺 Русский', use_aliases=True))
    btn_uzbek = KeyboardButton('🇺🇿 O\'zbekcha')
    btn_android_app = KeyboardButton(text=_(user.language_code, strings.ANDROID_APP))

    keyboard.row(btn_internet, btn_useful, btn_rates)
    keyboard.row(btn_communication, btn_news, btn_services)
    keyboard.row(btn_russian, btn_uzbek)
    keyboard.row(btn_android_app)

    keyboard.btn_useful = btn_useful
    keyboard.btn_internet = btn_internet
    keyboard.btn_communication = btn_communication
    keyboard.btn_news = btn_news
    keyboard.btn_services = btn_services
    keyboard.btn_rates = btn_rates
    keyboard.btn_balance = btn_balance
    keyboard.btn_russian = btn_russian
    keyboard.btn_uzbek = btn_uzbek
    keyboard.btn_android_app = btn_android_app

    if TelegramChannels.select().count() > 0:
        btn_telegram_channels = KeyboardButton(text=_(user.language_code, strings.TELEGRAM_CHANNELS))
        keyboard.row(btn_telegram_channels)
        keyboard.btn_telegram_channels = btn_telegram_channels

    return keyboard