summaryrefslogtreecommitdiff
path: root/files/TG_bot_VPN-main/keyboards/inline/app_buttons.py
blob: b62b0eb001cfc4984d03a3d661e9620fbff1dc18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from telebot.types import InlineKeyboardMarkup, InlineKeyboardButton


def get_apps_murkup():
    """ Inline buttons для выдачи ссылок на скачивание приложений """
    actions = InlineKeyboardMarkup(row_width=3)

    actions.add(InlineKeyboardButton(text="💻 Windows", url="https://github.com/hiddify/hiddify-next/releases/"
                                                         "download/v2.0.5/Hiddify-Windows-Setup-x64.exe"),
                InlineKeyboardButton(text="🍏 MacOS", url="https://apps.apple.com/ru/app/"
                                                       "hiddify-proxy-vpn/id6596777532"),
                InlineKeyboardButton(text="🐧 Linux", url="https://github.com/hiddify/hiddify-next/releases/"
                                                       "download/v2.0.5/Hiddify-Debian-x64.deb")
                )
    actions.add(InlineKeyboardButton(text="📱 iOS", url="https://apps.apple.com/ru/app/"
                                                     "hiddify-proxy-vpn/id6596777532"),
                InlineKeyboardButton(text="🤖 Android", url="https://play.google.com/store/"
                                                         "apps/details?id=app.hiddify.com")
                )
    actions.add(InlineKeyboardButton(text="🔀 Другой вариант", url="https://github.com/hiddify/"
                                                                      "hiddify-app/releases/tag/v2.0.5"))
    return actions