HTMLify

9yvs17u6ey.py
Views: 12 | Author: Unknown
@Client.on_message(filters.command("start") & filters.incoming)  
async def start(client: Client, message: Message):  
    await message.reply_text(  
        f"**Hello {message.from_user.first_name}!**\nThis boilerplate is ready to go.",  
        reply_markup=InlineKeyboardMarkup(  
            [  
                [  
                    InlineKeyboardButton("Help", url="https://t.me/devdoptpy"),  
                    InlineKeyboardButton("Callback ping", callback_data=f"ping#{message.from_user.id}")  
                ]  
            ]  
        )  
    )

Comments