chatbotsbusiness | Unsorted

Telegram-канал chatbotsbusiness - Bots.Business Q&A Chat

6305

Welcome to Bots.Business chat Also known as (BB chat) 😊 It Q&A (question & answer) not CPD ( Copy&Past Development) chat -------- ❓ Help https://help.bots.business http://app.bots.business

Subscribe to a channel

Bots.Business Q&A Chat

+2 💎 from [@arijitiyan](tg://user?id=7378059553).
You have: 1062💎

⚠️ Restrictions - possible punishments (read mode only):
- 8-hour - 💎 -1 BBP.
- 24-hour - 💎 -3 BBP.
- 1-week - 💎 -5 BBP.
- Permanent - 💎 -8 BBP.

You have no current punishments.

Читать полностью…

Bots.Business Q&A Chat

I need a code for start message

Читать полностью…

Bots.Business Q&A Chat

/channel/BotTalk/1032223

Let him find the solution first 🙂

Читать полностью…

Bots.Business Q&A Chat

Code is free bro but you need a hosting web or app like bot business app where you write code in BJS(BOT JAVA SCRIPT) and host it for free

Читать полностью…

Bots.Business Q&A Chat

0 💎 from [@VIDHANXH](tg://user?id=5658930434).
You have: 48💎

⚠️ Restrictions - possible punishments (read mode only):
- 8-hour - 💎 -1 BBP.
- 24-hour - 💎 -3 BBP.
- 1-week - 💎 -5 BBP.
- Permanent - 💎 -8 BBP.

You have no current punishments.

Читать полностью…

Bots.Business Q&A Chat

Do not use data.XXX in BJS.
Deprecated!

For example use message instead data.message

Читать полностью…

Bots.Business Q&A Chat

// Button click handler
if (request.data == "order_views") {
User.setProperty("order_step", "ask_link", "string");
Bot.sendMessage("🔗 *Order Views*\n\nSend the post/video link you want to boost.");
return;
}

// Get current step from user property
let step = User.getProperty("order_step");

// Step 1: User sends link
if (step == "ask_link") {
if (!message || !message.match(/^https?:\/\//)) {
Bot.sendMessage("❌ Please send a valid link starting with http/https.");
return;
}

User.setProperty("post_link", message, "string");
User.setProperty("order_step", "ask_views", "string");
Bot.sendMessage("📊 Now send the number of views you want (minimum 100).");
return;
}

// Step 2: User sends number of views + API CALL
if (step == "ask_views") {
// Parse and validate views
let views = parseInt(message);

if (isNaN(views) || views < 100) {
Bot.sendMessage("❌ Please enter a valid number of at least 100.");
return;
}

User.setProperty("views_count", views, "number");
let postLink = User.getProperty("post_link");

// === REAL API CALL (Replace with YOUR values) ===
let apiKey = "YOUR_API_KEY_HERE"; // Replace with your actual API key
let serviceId = "YOUR_SERVICE_ID_HERE"; // Replace with your actual service ID

// Fixed template literal syntax
let apiUrl =
${apiKey}&action=add&service=${serviceId}&link=${encodeURIComponent(postLink)}&quantity=${views};

try {
let response = HTTP.get(apiUrl);

// Check HTTP status
if (!response || response.status !== 200) {
Bot.sendMessage("❌ API connection failed. Status: " + (response?.status || "No response"));
User.setProperty("order_step", "", "string");
return;
}

let data;
try {
data = JSON.parse(response.text || response.content);
} catch (e) {
Bot.sendMessage("❌ Failed to parse API response.");
User.setProperty("order_step", "", "string");
return;
}

if (data.status !== "success") {
Bot.sendMessage("❌ Failed to place order: " + (data.error || "Unknown error"));
User.setProperty("order_step", "", "string");
return;
}

// Fixed ternary operator syntax
let orderId = data.order ? (data.order.id || data.order) : "N/A";

// Reset ALL states
User.setProperty("order_step", "", "string");
User.setProperty("post_link", null, "string");
User.setProperty("views_count", null, "number");

Bot.sendMessage(✅ *Order Placed Successfully!*\n\n🔗 Link: ${postLink}\n📊 Views: ${views}\n🆔 Order ID: ${orderId});
return;

} catch (error) {
Bot.sendMessage("❌ Error processing your order. Please try again later.");
User.setProperty("order_step", "", "string");
return;
}
}

// Default fallback - only if no step is active
if (!step || step === "") {
Bot.sendMessage("Please click the *Order Views* button to start.");
}

Читать полностью…

Bots.Business Q&A Chat

Do not use data.XXX in BJS.
Deprecated!

For example use message instead data.message

Читать полностью…

Bots.Business Q&A Chat

📜 Telegram Account Seller Bot live ❗️

🛍 Buy here : @Buysellsessionsbot

🌐 Features :
--- Deposit Crypto ( Automatic ) & INR
--- Buy Accounts As Sessions ( Bulk buy has offers ❕)
--- Buy Accounts With Manual Otp ( Automatic )
--- Different Countries available
--- Old aged Accounts available 📆

🎒 Shop your accounts now instantly !

Читать полностью…

Bots.Business Q&A Chat

see your admin🥹 @arijitiyan

Читать полностью…

Bots.Business Q&A Chat

+2 💎 from [@arijitiyan](tg://user?id=7378059553).
You have: 63💎

⚠️ Restrictions - possible punishments (read mode only):
- 8-hour - 💎 -1 BBP.
- 24-hour - 💎 -3 BBP.
- 1-week - 💎 -5 BBP.
- Permanent - 💎 -8 BBP.

You have no current punishments.

Читать полностью…

Bots.Business Q&A Chat

/channel/botsbus/1990

Читать полностью…

Bots.Business Q&A Chat

How can i clone a bot? Please give me code anyone?

Читать полностью…

Bots.Business Q&A Chat

50

good answer, let them to read the docs instead just asking for instant code

Читать полностью…

Bots.Business Q&A Chat

Bot making available and hosting available in very cheap dm @TechnoPoolYT1

Читать полностью…

Bots.Business Q&A Chat

Bot.sendMessage("Hello, it is /start command!");

my reward @arijitiyan😾

Читать полностью…

Bots.Business Q&A Chat

Please input numbers only. For example: 15

Читать полностью…

Bots.Business Q&A Chat

How to create device verification mini app please DM me

Читать полностью…

Bots.Business Q&A Chat

I need free hosting bot code

Читать полностью…

Bots.Business Q&A Chat

/channel/GmailFarmingGroup/880

Join The Group Send One Message and Get 2 BB Point

Читать полностью…

Bots.Business Q&A Chat

Please input numbers only. For example: 15

Читать полностью…

Bots.Business Q&A Chat

Anyone want advanced click bot?

Читать полностью…

Bots.Business Q&A Chat

// Button click handler
if (request.data == "order_views") {
User.setProperty("order_step", "ask_link", "string");
Bot.sendMessage("🔗 *Order Views*

Send the post/video link you want to boost.");
return;
}

// Step 1: User sends link
if (step == "ask_link") {
if (!message || !message.startsWith("http")) {
Bot.sendMessage("❌ Please send a valid link starting with http/https.");
return;
}

User.setProperty("post_link", message, "string");
User.setProperty("order_step", "ask_views", "string");
Bot.sendMessage("📊 Now send the number of views you want (minimum 100).");
return;
}

// Step 2: User sends number of views + API CALL
if (step == "ask_views") {
let views = parseInt(message);

if (!views || views < 100) {
Bot.sendMessage("❌ Please enter a number of at least 100.");
return;
}

User.setProperty("views_count", views, "number");
let postLink = User.getProperty("post_link");

// === REAL API CALL (Replace with YOUR values) ===
let apiKey = ""; // YOUR API KEY
let serviceId = ""; // YOUR SERVICE ID
let apiUrl = ${apiKey}&action=add&service=${serviceId}&link=${postLink}&quantity=${views};

let response = HTTP.get(apiUrl);

// Check HTTP status first
if (!response || response.http_status != 200) {
Bot.sendMessage("❌ API connection failed. Status: " + (response?.http_status || "No response"));
User.setProperty("order_step", "", "string");
return;
}

let data;
try {
data = JSON.parse(response.content);
} catch (e) {
Bot.sendMessage("❌ Failed to parse API response.");
User.setProperty("order_step", "", "string");
return;
}

if (data.status != "success") {
Bot.sendMessage("❌ Failed to place order: " + (data.error || "Unknown error"));
User.setProperty("order_step", "", "string");
return;
}

let orderId = data.order?.id data.order "N/A";

// Reset ALL states
User.setProperty("order_step", "", "string");
User.setProperty("post_link", null, "string");
User.setProperty("views_count", null, "number");

Bot.sendMessage(✅ *Order Placed Successfully!*

🔗 Link: ${postLink}
📊 Views: ${views}
🆔 Order ID: ${orderId});
return;
}

// Default fallback
Bot.sendMessage("Please click the *Order Views* button to start.")


Pls help fix this code

Читать полностью…

Bots.Business Q&A Chat

Forking bish 😭😭
Don't screenshot everything i say

Читать полностью…

Bots.Business Q&A Chat

Done. You can send media now.

Читать полностью…

Bots.Business Q&A Chat

@arijitiyan

Читать полностью…

Bots.Business Q&A Chat

https://help.bots.business/bjs/bb-admin-functions

Читать полностью…

Bots.Business Q&A Chat

+50 💎 from [@vinadira](tg://user?id=6886352498).
You have: 437💎

⚠️ Restrictions - possible punishments (read mode only):
- 8-hour - 💎 -1 BBP.
- 24-hour - 💎 -3 BBP.
- 1-week - 💎 -5 BBP.
- Permanent - 💎 -8 BBP.

You have no current punishments.

Читать полностью…

Bots.Business Q&A Chat

https://help.bots.business/bjs/api-functions#example-2.-send-photo-with-inline-keyboard

Читать полностью…

Bots.Business Q&A Chat

I want bjs where bot send message with button

Message + (button with link t.me/)

Читать полностью…
Subscribe to a channel