Spaces:
Paused
Paused
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup | |
def speed_markup(_, chat_id): | |
upl = InlineKeyboardMarkup( | |
[ | |
[ | |
InlineKeyboardButton( | |
text="π 0.5x", | |
callback_data=f"SpeedUP {chat_id}|0.5", | |
), | |
InlineKeyboardButton( | |
text="π 0.75x", | |
callback_data=f"SpeedUP {chat_id}|0.75", | |
), | |
], | |
[ | |
InlineKeyboardButton( | |
text=_["P_B_4"], | |
callback_data=f"SpeedUP {chat_id}|1.0", | |
), | |
], | |
[ | |
InlineKeyboardButton( | |
text="π€ 1.5x", | |
callback_data=f"SpeedUP {chat_id}|1.5", | |
), | |
InlineKeyboardButton( | |
text="π 2.0x", | |
callback_data=f"SpeedUP {chat_id}|2.0", | |
), | |
], | |
[ | |
InlineKeyboardButton( | |
text=_["CLOSE_BUTTON"], | |
callback_data="close", | |
), | |
], | |
] | |
) | |
return upl | |