2 882
Подписчики
-324 часа
-287 дней
-10230 дней
Архив постов
2 882
⁉️ How To Make Support System
🧩 Command:-
📞 Support
🖥 TPY :-
bot.replyText(u,"*📞 You Are Now In Direct Contact With Our Administrator*\n_You can send here any message you want to submit, the administrator will receive it and send an answer directly here in chat!_",parse_mode="markdown")
Bot.handleNextCommand("/support#2")
🧩 Command:- /support#2
🖥 TPY :-
admin = 1912340531
#Enter Your ID Here
markup = [[InlineKeyboardButton(text='↩️ Reply User',callback_data=f'/replyUser {message.chat.id}')]]
markup = InlineKeyboardMarkup(markup)
bot.sendMessage(chat_id=admin,text=f"*📩 New Support Message From:\n\n➡️ Name: {message.chat.first_name}\n➡️ Username: @{message.chat.username}\n➡️ ID: {message.chat.id}\n\n📝 Message: {message.text}*",parse_mode="markdown",reply_markup=markup)
bot.replyText(u,f"*✅ Message Sent To The Administrator:* _{message.text}_",parse_mode="markdown")
🧩 Command:- /replyUser
🖥 TPY :-
if message.text.startswith('/replyUser'):
raise ReturnCommand
bot.replyText(u,"*➡️ Enter Your Message For User*",parse_mode="markdown")
Bot.handleNextCommand("/replyUser#2",params)
🧩 Command:- /replyUser#2
🖥 TPY :-
bot.sendMessage(chat_id=options,text=f"*📩 New Support Message From Admin:\n\n📝 Message:* _{message.text}_",parse_mode="markdown")
bot.replyText(u,f"*↩️ Reply Sent To User:* _{message.text}_",parse_mode="markdown")
👨💻 Created By: Unknown2 882
+1
【DPK-AI Trading】Automatic quantitative system can automatically search for the lowest selling price of digital currencies such as BTC, ETH, USDT, etc. on major exchanges, and quickly purchase them in seconds.
1.DPKAI-quantification, deposits and withdrawals are automatically credited.
2. VIP1-VIP11, quantitative income 20% -35% income.
3. Support multi-currency, smart investment income 25%% up to 40% income.
4. Quantification is reset every 24 hours, and each person can participate in quantitative trading income once a day.
5. Recommend three-level agent invitation rewards, the more invitations, the more rewards, there is no upper limit [A reward 10%, B reward 5%, C reward 3% = 18% reward], send the invitation link to share to your social software, such as: Tiktok, Facebook, Twitter, YouTube, Instagram, WhatsApp group, Telegram group, etc.
【DPK-AI Trading】Registration link: https://dpk-ai.com/#/register?ref=405425
【DPK-AI Trading】Online customer service: https://chat.ssrchat.com/service/gomw2j
2 882
🦁 Update 🤖
@EskoIDBot has been updated!
You can now easily obtain user IDs, group IDs, channel IDs, and bot IDs with just a simple click of a button. No more need to forward messages!
🔄 Don't forget! Restart the bot to enjoy the latest updates and features! 🚀 ( /start )
2 882
🦁 Update 🤖
@EskoIDBot has been updated!
You can now easily obtain user IDs, group IDs, channel IDs, and bot IDs with just a simple click of a button. No more need to forward messages!
2 882
🤖 TBC Pinned Message Broadcast Code
Command :
/broadcast
admin_user = 123456789 #replace with your id
if admin_user != u:
raise ReturnCommand()
if options is None:
bot.replyText(
u, "<b>📢 Send a message to broadcast.\n\nUse /cancel to stop.</b>",
parse_mode="html"
)
Bot.handleNextCommand("/broadcast", options=True)
raise ReturnCommand()
else:
if message.text == "/cancel":
bot.sendMessage(chat_id=u, text="<b>❌ Broadcast cancelled.</b>", parse_mode="html")
Bot.runCommand("/start")
raise ReturnCommand()
def send_photo(caption, file_id):
msg = bot.sendPhoto(chat_id=u, photo=file_id, caption=caption) if caption else bot.sendPhoto(chat_id=u, photo=file_id)
return msg.message_id if msg else None
def send_video(caption, file_id):
msg = bot.sendVideo(chat_id=u, video=file_id, caption=caption) if caption else bot.sendVideo(chat_id=u, video=file_id)
return msg.message_id if msg else None
def send_audio(caption, file_id):
msg = bot.sendAudio(chat_id=u, audio=file_id, caption=caption) if caption else bot.sendAudio(chat_id=u, audio=file_id)
return msg.message_id if msg else None
def send_document(caption, file_id):
msg = bot.sendDocument(chat_id=u, document=file_id, caption=caption) if caption else bot.sendDocument(chat_id=u, document=file_id)
return msg.message_id if msg else None
def send_sticker(file_id):
msg = bot.sendSticker(chat_id=u, sticker=file_id)
return msg.message_id if msg else None
def send_animation(caption, file_id):
msg = bot.sendAnimation(chat_id=u, animation=file_id, caption=caption) if caption else bot.sendAnimation(chat_id=u, animation=file_id)
return msg.message_id if msg else None
message_text = str(message.caption) if message.caption else str(message.text)
broadcast_message_id = None
if message.photo:
broadcast_message_id = send_photo(message_text, message.photo[-1].file_id)
elif message.text:
sent_msg = bot.sendMessage(chat_id=u, text=message_text, parse_mode="html")
broadcast_message_id = sent_msg.message_id if sent_msg else None
elif message.video:
broadcast_message_id = send_video(message_text, message.video.file_id)
elif message.audio:
broadcast_message_id = send_audio(message_text, message.audio.file_id)
elif message.document:
broadcast_message_id = send_document(message_text, message.document.file_id)
elif message.sticker:
broadcast_message_id = send_sticker(message.sticker.file_id)
elif message.animation:
broadcast_message_id = send_animation(message_text, message.animation.file_id)
else:
bot.sendMessage(chat_id=u, text="<b>⚠️ Unsupported file type!</b>", parse_mode="html")
raise ReturnCommand()
# Pin the message after broadcasting
if broadcast_message_id:
bot.pinChatMessage(chat_id=u, message_id=broadcast_message_id)
bot.sendMessage(chat_id=u, text="<b>✅ Broadcast sent and pinned successfully.</b>", parse_mode="html")
⚠️ Give Credit If U Are Posting In Your Channel.
👨💻 Created By: @EskoDrums
©️ Credit : @EskoCoding
‼️ Error & Support: @TBCcoding2 882
🤖 TBC Pinned Message Broadcast Code
admin_user = 123456789 #replace with your id
if admin_user != u:
raise ReturnCommand()
if options is None:
bot.replyText(
u, "<b>📢 Send a message to broadcast.\n\nUse /cancel to stop.</b>",
parse_mode="html"
)
Bot.handleNextCommand("/broadcast", options=True)
raise ReturnCommand()
else:
if message.text == "/cancel":
bot.sendMessage(chat_id=u, text="<b>❌ Broadcast cancelled.</b>", parse_mode="html")
Bot.runCommand("/start")
raise ReturnCommand()
def send_photo(caption, file_id):
msg = bot.sendPhoto(chat_id=u, photo=file_id, caption=caption) if caption else bot.sendPhoto(chat_id=u, photo=file_id)
return msg.message_id if msg else None
def send_video(caption, file_id):
msg = bot.sendVideo(chat_id=u, video=file_id, caption=caption) if caption else bot.sendVideo(chat_id=u, video=file_id)
return msg.message_id if msg else None
def send_audio(caption, file_id):
msg = bot.sendAudio(chat_id=u, audio=file_id, caption=caption) if caption else bot.sendAudio(chat_id=u, audio=file_id)
return msg.message_id if msg else None
def send_document(caption, file_id):
msg = bot.sendDocument(chat_id=u, document=file_id, caption=caption) if caption else bot.sendDocument(chat_id=u, document=file_id)
return msg.message_id if msg else None
def send_sticker(file_id):
msg = bot.sendSticker(chat_id=u, sticker=file_id)
return msg.message_id if msg else None
def send_animation(caption, file_id):
msg = bot.sendAnimation(chat_id=u, animation=file_id, caption=caption) if caption else bot.sendAnimation(chat_id=u, animation=file_id)
return msg.message_id if msg else None
message_text = str(message.caption) if message.caption else str(message.text)
broadcast_message_id = None
if message.photo:
broadcast_message_id = send_photo(message_text, message.photo[-1].file_id)
elif message.text:
sent_msg = bot.sendMessage(chat_id=u, text=message_text, parse_mode="html")
broadcast_message_id = sent_msg.message_id if sent_msg else None
elif message.video:
broadcast_message_id = send_video(message_text, message.video.file_id)
elif message.audio:
broadcast_message_id = send_audio(message_text, message.audio.file_id)
elif message.document:
broadcast_message_id = send_document(message_text, message.document.file_id)
elif message.sticker:
broadcast_message_id = send_sticker(message.sticker.file_id)
elif message.animation:
broadcast_message_id = send_animation(message_text, message.animation.file_id)
else:
bot.sendMessage(chat_id=u, text="<b>⚠️ Unsupported file type!</b>", parse_mode="html")
raise ReturnCommand()
# Pin the message after broadcasting
if broadcast_message_id:
bot.pinChatMessage(chat_id=u, message_id=broadcast_message_id)
bot.sendMessage(chat_id=u, text="<b>✅ Broadcast sent and pinned successfully.</b>", parse_mode="html")
⚠️ Give Credit If U Are Posting In Your Channel.
👨💻 Created By: @EskoDrums
©️ Credit : @EskoCoding2 882
Repost from Black Card Prive
🚀 Introducing AdRocket Bot – Promote & Earn! 🚀
Want to promote your content for FREE?
@Ad_Rocket_Bot lets you earn points by referring friends and use them to post ads in our big channel(@Ad_Rocket_Channel)! 📢
🔥 How It Works:
✅ Earn 1 point per referral
✅ Post ads for just 10 points
✅ Pin posts for extra 5 points
✅ Track stats & top referrers
Start earning & promoting now! Click below to launch your ads! 👇
🔗 Start Now
2 882
🤖 AI Image Generator TBC Code
Command :
/img
if options is None:
bot.sendMessage("Please provide a prompt. Example:\n`A futuristic city skyline at night.`", parse_mode="Markdown")
bot.handleNextCommand("/img", options=True)
raise ReturnCommand()
prompt = encodeURIComponent(message.text)
api_url = f"https://botfather.cloud/Apis/ImgGen/?prompt={prompt}"
response = HTTP.get(api_url)
if response.status_code == 200:
bot.sendPhoto(response.content)
else:
bot.sendMessage("Failed to generate image. Please try again later.")
⚠️ Give Credit If U Are Posting In Your Channel.
👨💻 Created By: @EskoDrums
©️ Credit : @EskoCoding
©️ API Credit : @JSOrganization2 882
🔥 Convert Images to Stickers with This TBC Code! 🔥
Command :
/conv
if options is None:
Bot.sendMessage(
chat_id=message.chat.id,
text="🙃 *Please send an image to convert it into a sticker!*",
parse_mode="Markdown",
reply_to_message_id=message.message_id
)
bot.handleNextCommand("/conv", options=True)
else:
if not message.photo:
bot.sendMessage("❌ Please send an image to convert it into a sticker! ")
bot.handleNextCommand("/conv", options=True)
raise ReturnCommand()
photo_id = message.photo[-1].file_id
file_data = bot.getFile(photo_id)
file_bytes = bot.downloadFile(file_data.file_path)
Bot.sendSticker(
chat_id=message.chat.id,
sticker=file_bytes,
reply_to_message_id=message.message_id
)
⚠️ Give Credit If U Are Posting In Your Channel.
👨💻 Created By: @EskoDrums
©️ Credit : @EskoCoding2 882
🚀 Introducing the Esko Post Creator Bot! 🎉
Create stunning posts in seconds with inline buttons and shareable links! Engage your audience effortlessly.
👉 Get Started Now!
@EpocsBot
2 882
Unlock the potential of Telegram with my collection of affordable bot codes! Get instant access to:
> * Refer and Earn Bot (English, Amharic, Tigrinya)
> * Amharic Keyboard Bot
> * Font Changer Bot
> * ID Finder Bot
> * Image Search Bot
> * Forward Tag Remover Bot
> * File Store Bot
> * Channel Auto Reaction Bot
> * Poll Maker Bot
> * Calculator Bot
> * Character Counter Bot
> * Share Contact Button
> * Channel Scheduled Quote Poster Bot
>
> Streamline channel management, boost user engagement, and offer unique features. Perfect for small businesses, content creators, and community builders. Contact me for pricing and details!
2 882
QR Code Generator TBC code
Command :
* (You can replace it with another command by updating the code)
tum = message.text
# Define the data for the QR code (this could be a URL, text, etc.)
data_for_qr = tum # Replace with the data you want to encode
# Use the QR code generator API to generate the QR code image
qr_code_url = "https://api.qrserver.com/v1/create-qr-code/?data=" + data_for_qr + "&size=150x150"
# Send the generated QR code to the user
bot.sendPhoto(photo = qr_code_url, caption = "Here is your QR code!")2 882
Google QR Code maker code
add = "your text"
photo = f"http://chart.apis.google.com/chart?cht=qr&chs=500x500&chl={add}&chld=H|0"
bot.sendPhoto(photo=photo,parse_mode="Markdown")
By : @IncomeTeamAdmin