""" inline section button """ from pyrogram.types import ( CallbackQuery, InlineKeyboardButton, InlineKeyboardMarkup, Message, ) def stream_markup(user_id): buttons = [ [ InlineKeyboardButton(text="• Mᴇɴᴜ", callback_data=f'cbmenu | {user_id}'), InlineKeyboardButton(text="• Cʟᴏsᴇ", callback_data=f'cls'), ], ] return buttons def menu_markup(user_id): buttons = [ [ InlineKeyboardButton(text="⏹", callback_data=f'cbstop | {user_id}'), InlineKeyboardButton(text="⏸", callback_data=f'cbpause | {user_id}'), InlineKeyboardButton(text="▶️", callback_data=f'cbresume | {user_id}'), ], [ InlineKeyboardButton(text="🔇", callback_data=f'cbmute | {user_id}'), InlineKeyboardButton(text="🔊", callback_data=f'cbunmute | {user_id}'), ], [ InlineKeyboardButton(text="🗑 Close", callback_data='cls'), ] ] return buttons close_mark = InlineKeyboardMarkup( [ [ InlineKeyboardButton( "🗑 Close", callback_data="cls" ) ] ] ) back_mark = InlineKeyboardMarkup( [ [ InlineKeyboardButton( "🔙 Go Back", callback_data="cbmenu" ) ] ] ) confirm_board = InlineKeyboardMarkup( [ [ InlineKeyboardButton(text="• End", callback_data="cbstop"), InlineKeyboardButton(text="• Continue", callback_data="cls"), ] ] )