Web appOpen in Telegram

PostTBH Broadcast Example

15 May 2026
X
xCode
TBH Broadcast Example - supports links buttons , image , video almost all Command: /broadcast TBL Code: const ADMIN_ID = 123456789 if (user.telegramid != ADMIN_ID) { return } if (!request.reply_to_message) { return Bot.sendMessage( "❌ Reply to a message with /broadcast" ) } let users = await Bot.getUsers({ chatType: "private" }) if (!users?.length) { return Bot.sendMessage( "❌ No users found" ) } let msg = request.reply_to_message let sent = 0 let failed = 0 let status = await Api.sendMessage({ text: "📢 Broadcast Started\n\n" + "👥 Total: " + users.length }) let hasButtons = msg.reply_markup?.inline_keyboard let methods = { photo: "sendPhoto", video: "sendVideo", document: "sendDocument", animation: "sendAnimation", audio: "sendAudio", voice: "sendVoice" } let type = Object.keys(methods) .find(x => msg[x]) for (let chat_id of users) { try { if (!hasButtons) { await Api.copyMessage({ chat_id, from_chat_id: msg.chat.id, message_id: msg.message_id }) } else { let data = { chat_id, reply_markup: msg.reply_markup } if (type) { data[type] = type === "photo" ? msg.photo.at(-1).file_id : msg[type].file_id data.caption = msg.caption data.caption_entities = msg.caption_entities await Api.call( methods[type], data ) } else { data.text = msg.text || msg.caption || "" data.entities = msg.entities || msg.caption_entities await Api.sendMessage(data) } } sent++ } catch { try { await Api.forwardMessage({ chat_id, from_chat_id: msg.chat.id, message_id: msg.message_id }) sent++ } catch { failed++ } } } await status.editText( "📢 Broadcast Completed\n\n" + "👥 Total: " + users.length + "\n✅ Sent: " + sent + "\n❌ Failed: " + failed ) Note: Customize it based on your needs platform: telebothost.com Developer: @CyberXCoding
10 · 689 ·

Nearby in the feed

XxCodeIf the API stops working, just comment , I will fix it within a few hours ✅ I don't want to add heavy security because I made these APIs just for fun. This api XxCode
this message
XxCodeThis is not for Bots.Business , soon I will give Super Fast Broadcast for Bots.Business
XxCodexCode@CodeBracket · channel · Tech
292subscribers119posts in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog · Search · How we count