Add spotify search (only search), default menu
This commit is contained in:
22
bot/keyboards/inline/full_menu.py
Normal file
22
bot/keyboards/inline/full_menu.py
Normal file
@@ -0,0 +1,22 @@
|
||||
from aiogram.utils.keyboard import (InlineKeyboardMarkup, InlineKeyboardButton,
|
||||
InlineKeyboardBuilder)
|
||||
from bot.callbacks.factories.full_menu import FullMenuCallback
|
||||
|
||||
|
||||
def get_full_menu_kb() -> InlineKeyboardMarkup:
|
||||
buttons = [
|
||||
[
|
||||
InlineKeyboardButton(
|
||||
text='⚙️ Settings',
|
||||
callback_data=FullMenuCallback(
|
||||
action='settings'
|
||||
).pack()
|
||||
),
|
||||
InlineKeyboardButton(
|
||||
text='🎵 Search in SoundCloud',
|
||||
switch_inline_query_current_chat='sc::'
|
||||
)
|
||||
]
|
||||
]
|
||||
|
||||
return InlineKeyboardBuilder(buttons).as_markup()
|
||||
Reference in New Issue
Block a user