tgoop.com/TH3NK/971
Create:
Last Update:
Last Update:
كود بايثون أمر/start
from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup
from telegram.ext import ContextTypes
async def start(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
if update.message.chat.type != "private":
return
user_first_name = update.message.from_user.first_name
welcome_message = (
f"مرحبًا، {user_first_name}! 😊 \n\n"
"✎ₛₒₙ \n"
"❆ الأوامر مدرجة في البوت:\n"
"⏎︙( 🌟 )\n"
"⏎︙( 🌟 )\n"
"⏎︙( 🌟 )\n"
"⏎︙( 🌟 )\n\n"
"مرحبًا بك في البوت! اضغط على الزر أدناه لإضافة البوت إلى مجموعتك."
)
invite_button = InlineKeyboardButton(
text=" ضيفني لـ مجموعتك 🌟 ",
url=f"https://www.tgoop.com/{context.bot.username}?startgroup=true"
)
developer_info_button = InlineKeyboardButton(
text=" ⊀᥉͡ò͜𝙽 </> ˢᵃʸᵒⁿᵃʳᵃ ",
url="tg://openmessage?user_id=7416850450"
)
profile_button = InlineKeyboardButton(
text="⋆ </> ⋆",
url="https://www.tgoop.com/itGoe"
)
keyboard = InlineKeyboardMarkup([[invite_button, developer_info_button], [profile_button]])
with open("bot_image.jpg", "rb") as photo:
await context.bot.send_photo(
chat_id=update.effective_chat.id,
photo=photo,
caption=welcome_message,
reply_markup=keyboard
)
#son
BY لمسات برمجية ⎙
Share with your friend now:
tgoop.com/TH3NK/971