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
+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.
/channel/BotTalk/1032223
Let him find the solution first 🙂
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
Читать полностью…
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.
Do not use data.XXX in BJS.
Deprecated!
For example use message instead data.message
// 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};✅ *Order Placed Successfully!*\n\n🔗 Link: ${postLink}\n📊 Views: ${views}\n🆔 Order ID: ${orderId});
Do not use data.XXX in BJS.
Deprecated!
For example use message instead data.message
📜 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 !
+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.
How can i clone a bot? Please give me code anyone?
Читать полностью…
50
good answer, let them to read the docs instead just asking for instant code
Bot making available and hosting available in very cheap dm @TechnoPoolYT1
Читать полностью…
Bot.sendMessage("Hello, it is /start command!");
Please input numbers only. For example: 15
Читать полностью…
How to create device verification mini app please DM me
Читать полностью…
/channel/GmailFarmingGroup/880
Join The Group Send One Message and Get 2 BB Point
Please input numbers only. For example: 15
Читать полностью…
// 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.")
Forking bish 😭😭
Don't screenshot everything i say
https://help.bots.business/bjs/bb-admin-functions
Читать полностью…
+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.
https://help.bots.business/bjs/api-functions#example-2.-send-photo-with-inline-keyboard
Читать полностью…
I want bjs where bot send message with button
Message + (button with link t.me/)