-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeyboards.py
21 lines (19 loc) · 1.37 KB
/
keyboards.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from aiogram.types import ReplyKeyboardMarkup, KeyboardButton, InlineKeyboardButton, InlineKeyboardMarkup, ReplyKeyboardRemove
languages_button = ReplyKeyboardMarkup(
keyboard=[
[KeyboardButton(text="🇺🇿 O'zbekcha - English 🇺🇸"), KeyboardButton(text="🇺🇸 English - O'zbekcha 🇺🇿")],
[KeyboardButton(text="🇺🇿 O'zbekcha - Русский 🇷🇺"), KeyboardButton(text="🇷🇺 Русский - O'zbekcha 🇺🇿")],
[KeyboardButton(text="🇺🇿 O'zbekcha - Koreyscha 🇰🇷"), KeyboardButton(text="🇰🇷 한국인(korean) - 우즈벡어(uzbek) 🇺🇿")],
[KeyboardButton(text="🇺🇿 O'zbekcha - Turkcha 🇹🇷"), KeyboardButton(text="🇹🇷 Türkçe(turkish) - Özbekçe(uzbek) 🇺🇿")],
[KeyboardButton(text="🇺🇿 O'zbekcha - Nemischa 🇩🇪"), KeyboardButton(text="🇩🇪 Deutsch(german) - Usbekisch 🇺🇿")],
[KeyboardButton(text="🇺🇿 O'zbekcha - Ispancha 🇪🇸"), KeyboardButton(text="🇪🇸 Española(spanish) - Uzbeko 🇺🇿")]
],
resize_keyboard=True
)
bot_langauge = InlineKeyboardMarkup(
inline_keyboard=[
[InlineKeyboardButton(text="O'zbekcha 🇺🇿", callback_data='uz')],
[InlineKeyboardButton(text="English 🇺🇸", callback_data='en')],
[InlineKeyboardButton(text="Русский 🇷🇺", callback_data='ru')]
]
)