Bot Nations πŸš€
17.1K subscribers
18 photos
1 video
3 files
53 links
πŸ–πŸ» Welcome to β€œBot Nations”!

πŸ€– Hello, Everyone! Here, I’ll Teach You How To Create Telegram Bots.

➑ Join Our Discussion Group: @Private_Bots_Chats

πŸ“ž For Sponsorships, Ads, or Promotions, Contact Us At @PB_Sponsorship.
Download Telegram
Radhe Radhe Mitron πŸ™πŸΌβ€οΈ
❀9πŸ‘5
🌈✨ Wishing everyone a vibrant and joyous Holi from @botnations! πŸŽ‰πŸ’–

May this festival of colors fill your life with happiness, love, and endless laughter.

As we splash colors and share sweets, let’s also spread kindness and positivity all around. 🌸πŸ₯³

Embrace the spirit of togetherness and let go of all negativity!

Let’s celebrate the triumph of good over evil and cherish the beautiful moments with our loved ones. πŸŒΌπŸ’¦

Here’s to creating unforgettable memories and painting our lives with the brightest hues!

Happy Holi from all of us at @botnations! 🌟❀️

#HoliFestival #ColorsOfJoy #SpreadLove
❀‍πŸ”₯6πŸ‘3❀2πŸ†’2πŸŽ‰1πŸ‘Œ1
Indo-IG-Seller.zip
325.3 KB
SCRIPT-: MANUALLY ADD PAYMENT ❀️

GO TO ANY FREE HOSTING SITE AND CHANGE THE DATA IN ZIP FILE LIKE BOT TOKEN OWNER ID
ADD YOUR PAYMENT QR
INDO AUTO BOT.zip
855.5 KB
AUTOMATIC FUNDS ADD INDO IG SCRIPT FOR ALL βœ…
❀11πŸ‘3πŸ”₯2πŸ‘Œ2
Thanks for 2k ♾️πŸ’ͺ🏻❀️
πŸ‘6⚑5
Ab konsi codes chaiye??
πŸ‘8πŸ‘€2❀1πŸ₯°1
Bot Nations πŸš€
Ab konsi codes chaiye??
Bots/codes related ideas toh koi de hi nhi rha
Jldi jldi comment kro
πŸ‘4❀1
How to change PlaceHolder Like In The Image!?

Bjs :
Api.sendMessage({
text: "Hey Please Send Your Name",
parse_mode: "Markdown",
reply_markup: { force_reply: true, input_field_placeholder: "Input Your Name Here!" }
})

Coded by "idk" comment if u think they it's your code!
πŸ‘9πŸ₯°2❀1
Drop reaction for 'Auto Caption Bot '
πŸ‘21⚑4πŸ”₯3❀2🀩2
πŸ‘6❀5πŸ”₯3
πŸ“’ Auto Caption Bot – Add It to Your Channel and Experience the Magic! πŸš€

πŸ›  How to Get Started:


1️⃣ Add the bot to your Telegram channel as an admin. 
2️⃣ Post any media fileβ€”the bot will automatically reply with all the relevant file details!

---

πŸ“œ For Bots.Business Users – Sample Code:

var request2 = JSON.parse(request);

function formatFileSize(bytes) {
return (bytes / (1024 * 1024)).toFixed(2) + " MB";
}

if (request2.channel_post) {
var msgid = request2.channel_post.message_id;
var ch = request2.channel_post.sender_chat.id;
var fileInfo = "πŸ“‚ *File Details:* \n";
var post = request2.channel_post;

// πŸ–Ό Photo
if (post.photo) {
let photo = post.photo[post.photo.length - 1]; // Get highest quality
fileInfo += "πŸ–Ό *Photo*\n";
fileInfo += "πŸ†” *File ID:* `" + photo.file_id + "`\n";
fileInfo += "πŸ“ *File Size:* `" + formatFileSize(photo.file_size) + "`";
}
// πŸŽ₯ Video
else if (post.video) {
let video = post.video;
fileInfo += "πŸŽ₯ *Video*\n";
fileInfo += "πŸ†” *File ID:* `" + video.file_id + "`\n";
fileInfo += "πŸ“‚ *File Name:* `" + (video.file_name || "Unknown") + "`\n";
fileInfo += "πŸ“ *File Size:* `" + formatFileSize(video.file_size) + "`\n";
fileInfo += "⏱ *Duration:* `" + video.duration + " sec`\n";
fileInfo += "πŸ“„ *MIME Type:* `" + video.mime_type + "`";
}
// 🎡 Audio
else if (post.audio) {
let audio = post.audio;
fileInfo += "🎡 *Audio*\n";
fileInfo += "πŸ†” *File ID:* `" + audio.file_id + "`\n";
fileInfo += "πŸ“‚ *File Name:* `" + (audio.file_name || "Unknown") + "`\n";
fileInfo += "πŸ“ *File Size:* `" + formatFileSize(audio.file_size) + "`\n";
fileInfo += "⏱ *Duration:* `" + audio.duration + " sec`\n";
fileInfo += "πŸ“„ *MIME Type:* `" + audio.mime_type + "`";
}
// πŸ“ Document (Including Videos Uploaded as Documents)
else if (post.document) {
let doc = post.document;
let isVideo = doc.mime_type.startsWith("video/");

if (isVideo) {
fileInfo += "πŸŽ₯ *Video (Uploaded as Document)*\n";
} else {
fileInfo += "πŸ“„ *Document*\n";
}

fileInfo += "πŸ†” *File ID:* `" + doc.file_id + "`\n";
fileInfo += "πŸ“‚ *File Name:* `" + (doc.file_name || "Unknown") + "`\n";
fileInfo += "πŸ“ *File Size:* `" + formatFileSize(doc.file_size) + "`\n";
fileInfo += "πŸ“„ *MIME Type:* `" + doc.mime_type + "`";
}
// 🎭 Sticker
else if (post.sticker) {
let sticker = post.sticker;
fileInfo += "🎭 *Sticker*\n";
fileInfo += "πŸ†” *File ID:* `" + sticker.file_id + "`\n";
fileInfo += "πŸ“‚ *Emoji:* `" + (sticker.emoji || "None") + "`\n";
fileInfo += "πŸ“ *File Size:* `" + formatFileSize(sticker.file_size) + "`\n";
fileInfo += "πŸ“„ *MIME Type:* `" + (sticker.mime_type || "Sticker") + "`";
}
// 🎞 GIFs (Sent as Animated Stickers or Documents)
else if (post.animation) {
let animation = post.animation;
fileInfo += "🎞 *GIF / Animation*\n";
fileInfo += "πŸ†” *File ID:* `" + animation.file_id + "`\n";
fileInfo += "πŸ“‚ *File Name:* `" + (animation.file_name || "Unknown") + "`\n";
fileInfo += "πŸ“ *File Size:* `" + formatFileSize(animation.file_size) + "`\n";
fileInfo += "πŸ“„ *MIME Type:* `" + animation.mime_type + "`";
}
// ⚠ No File Detected
else {
fileInfo = "⚠ No supported file detected.";
}

// Send file info to the same channel
Api.sendMessage({
chat_id: ch,
text: fileInfo,
reply_to_message_id: msgid,
parse_mode: "Markdown"
});
}


πŸ‘¨β€πŸ’» Created By: @Swastik_Raj
Β© Copyright:
@BotNations 
πŸ“’ Feel free to share and give credit if you use this in your channel!
πŸ‘12❀2πŸ‘Œ1
🎬 Exciting Update!

A new code is coming soon that will fetch videos directly from your database channel!
Perfect for movie bots and more! πŸŽ₯πŸš€

Stay tuned! ⏳πŸ”₯
πŸ‘13πŸ”₯5πŸ‘Œ2❀1
🎚 Force Join Channel in Group [Telebot Creator Code]
❓ Using this you can mute the users in your group until they join your Telegram channel once they join and they can click unmute button then the bot will unmute the user if he join the channel and if he / she left the channel then fhe bot  will automatically mute the user back in group until they join your channel.


πŸ‘» Command: *

☒️ TPY:
def check():
channels = "@Privates_Bots"#edit with channel username or with id
for i in channels:
check = bot.getChatMember(str(i), u)
if check.status != 'left':
pass
else:
return False
return True

usernm = f"""<a href="tg://user?id={u}">{message.from_user.first_name} {message.from_user.last_name}</a>"""
if message.from_user.last_name is None:
usernm = f"""<a href="tg://user?id={u}">{message.from_user.first_name}</a>"""

markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton(
text="🟒 Joined",
callback_data=f"/joined {u}"))

tim = int(time.time())
until = tim + 600

if not check():
bot.deleteMessage(chat_id=message.chat.id, message_id=message.message_id)
bot.restrictChatMember(chat_id=message.chat.id, user_id=u, can_send_messages=False, until_date=until)

txt = f"""<b>
πŸ“› Hello {usernm}, Please Join Our Channel To Send Message in This Group

➀ {channels}

❇️ After Joining, Click <code>🟒 Joined</code></b>"""

bot.replyText(chat_id=message.chat.id, text=txt, reply_markup=markup)

πŸ‘» Command: /joined

☒️ TPY:

if params != str(u):
bot.answerCallbackQuery(call.id, 'β›” This Message is Not For You', show_alert=True)
raise ReturnCommand()

def check():
channels = ["@Privates_Bots"] # edit with channel username
for i in channels:
member = bot.getChatMember(str(i), u)
if member.status != 'left':
pass
else:
return False
return True

usernm = f"""<a href="tg://user?id={u}">{call.from_user.first_name} {call.from_user.last_name}</a>"""
if call.from_user.last_name is None:
usernm = f"""<a href="tg://user?id={u}">{call.from_user.first_name}</a>"""

if check():
bot.restrictChatMember(chat_id=message.chat.id, user_id=u,
can_send_messages=True,
can_send_media_messages=True, # This includes audios, videos, photos, etc.
can_send_other_messages=True) # This includes polls and documents
bot.editMessageText(chat_id=message.chat.id, message_id=message.message_id,
text=f"<b>πŸš€ {usernm}, Thanks For Joining Our Channel\n\nπŸ’¬ Now You Can Send Message</b>")
else:
bot.answerCallbackQuery(call.id, '❌ Must Join Our Channels', show_alert=True)

βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
⚠️ Give credit if you are posting on your channel.

πŸ‘¨β€πŸ’» Created By:
Swastik
Β© Credit: @BotNations.
πŸ‘10❀3πŸ”₯2πŸ₯°2⚑1
Bot Nations πŸš€
🎬 Exciting Update! A new code is coming soon that will fetch videos directly from your database channel! Perfect for movie bots and more! πŸŽ₯πŸš€ Stay tuned! ⏳πŸ”₯
This project is now ready and available in both JavaScript (BJS) and PHP! πŸŽ‰

What do you need to get started? Let us know how we can assist you! πŸ€”πŸ’¬
❀25πŸ”₯11πŸ‘10πŸŽ‰3🀩3πŸ‘Œ3🫑2❀‍πŸ”₯1πŸ₯°1πŸ‘€1
Bot Nations πŸš€
This project is now ready and available in both JavaScript (BJS) and PHP! πŸŽ‰ What do you need to get started? Let us know how we can assist you! πŸ€”πŸ’¬
How to Set Up the Bot

1. Claim Your Bot – Retrieve your bot from @SwastikGiveawayBot.

2. Activate Your Bot – Input the bot token and make it operational.

3. Connect to Database – Integrate the bot (as admin) with your designated database channel.

4. Upload Movie Files – Post movie files in either document video format or standard video format.

β€’ If you are sending a video, please ensure to include a caption with the movie name.

--------------------------------------------------------------------

How to Get a Movie?

Simply send the command in your bot: 
/get {movie name}

πŸ”Ή Example: /get Avatar
πŸ‘2
Good morning
πŸ”₯5πŸ‘1πŸŽ‰1
Thanks for 2.2K
πŸ”₯5πŸ‘1