xseaqbka/Nawaab_RoBotPublic · Bot Template

AIThis Telegram bot acts as a TOTP authenticator: users can add accounts via Base32 secret, QR code, or otpauth:// URI, list saved keys, and generate current OTP codes on demand with refresh and delete options. It includes an admin panel with user ban/unban, paginated user management, required-channel management, and a broadcast system that sends text, image, or copied replied messages to all private chats. A web dashboard endpoint provides OTP generation and account management over HTTP. The bot also supports an on/off maintenance switch and per-user access gating.

Utilitytotpauthenticatorotp2fabroadcastadmin
ProfileTelegram
59 commands1 envUpdated 10d agoCreated Aug 28, 2026
Back to folder

commands/_broadcast_buttons_prompt.js

javascript · 25 lines

Raw
1/**#command2name: /broadcast_buttons_prompt3answer: 4keyboard: 5parse_mode: html6aliases: broadcast_buttons_prompt7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12/* Command: /broadcast_buttons_prompt */13if (!(await authUtils.adminOnly())) return;14await authUtils.render(15  "🔗 <b>Broadcast · 3/3</b>\n\n" +16  "Send inline buttons using:\n\n" +17  "<code>Name: https://example.com, Support: https://t.me/example</code>\n\n" +18  "Buttons are automatically arranged two per row.\n\n" +19  "You can skip buttons.",20  [21    [authUtils.btn("⏭ Skip Buttons","broadcast_skip_buttons")],22    [authUtils.btn("✕ Cancel","broadcast_cancel","danger")]23  ]24);25await Bot.runCommand("/broadcast_buttons_input");