randydev's picture
fix update
a030508
raw
history blame contribute delete
755 Bytes
from pyrogram import *
from pyrogram.types import *
@Client.on_message(filters.command("setlang"))
async def arzlanguage_menu(client, message):
keyboard = [
[
InlineKeyboardButton("🇺🇸 English", callback_data="arzlang_en"),
InlineKeyboardButton("🇮🇩 Indonesia", callback_data="arzlang_id"),
],
[
InlineKeyboardButton("🇪🇸 Español", callback_data="arzlang_es"),
InlineKeyboardButton("🇫🇷 Français", callback_data="arzlang_fr"),
],
[
InlineKeyboardButton("❌ Close", callback_data="cclose"),
]
]
await message.reply(
"🌐 Select your language:",
reply_markup=InlineKeyboardMarkup(keyboard)
)