randydev's picture
fix update
eefa5fd
raw
history blame
506 Bytes
from pyrogram import *
from pyrogram.types import *
@Client.on_message(filters.command("setlang"))
async def arzlanguage_menu(client, message):
buttons = InlineKeyboardMarkup([
[InlineKeyboardButton("🇺🇸 English", callback_data="arzlang_en")],
[InlineKeyboardButton("🇪🇸 Español", callback_data="arzlang_es")],
[InlineKeyboardButton("🇫🇷 Français", callback_data="arzlang_fr")]
])
await message.reply("Select your language:", reply_markup=buttons)