File size: 755 Bytes
eefa5fd
 
 
 
 
a030508
 
 
 
 
 
 
 
 
 
 
 
 
390a7ef
a030508
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)
    )