Example Bjs of using custom icons in replymarkups buttons
Command -
Bjs -
By - @CyberXCoding
Command -
/iconBjs -
Api.sendMessage({
chat_id: chat.id,
text: "Example of custom icons.",
parse_mode: "Markdown",
reply_markup: {
inline_keyboard: [
[
{
text: "Support",
url: "https://t.me/chatbotsbusiness",
icon_custom_emoji_id: "5364288683824401154"
},
{
text: "Website",
url: "https://app.bots.business",
icon_custom_emoji_id: "6316411739969687815"
}
]
]
}
});By - @CyberXCoding
Note: the bot owner must have a Telegram Premium to use this.
β€3
π Group DP Changer Bjs ( via Api )
Command:
Bjs:
Developer - @CyberXCoding
Command:
/set_dpBjs:
let imageUrl = params // ( your choice , give url in params or in message )
if (!imageUrl) {
Bot.sendMessage(
"β Please provide an image URL.\n\nUsage: /set <image_url>"
)
return
}
let apiUrl =
"https://photo.trendtubechannel.workers.dev/?" +
"chat_id=" +
encodeURIComponent(chat.chatid) +
"&bot_token=" +
encodeURIComponent(bot.token) +
"&image_url=" +
encodeURIComponent(imageUrl)
// Call API
HTTP.get({
url: apiUrl,
success: "β Group DP set successfully.",
error: "β Failed to set group DP. Check the URL."
})
Usage:
/set_dp {image_url}/set_dp https://imgdrive.42web.io/uploads/4A8vH.jpgDeveloper - @CyberXCoding
π₯5π2β€1
Telegram Update: Bot-to-Bot Communication
Earlier, Telegram bots could not interact with each other to prevent infinite loops.
β’ Now, Bot-to-Bot communication is allowed in specific scenarios.
Key Points:
β’ Works in Groups
β’ Works in Business Mode
β’ Enables AI Agents and Automation Workflows
β’ Supports Advanced Bot Interactions
How to Enable: Use @BotFather and enable "Bot-to-Bot Communication Mode"
Docs: https://core.telegram.org/bots/features#bot-to-bot-communication
Source: https://t.me/BotNews/117
Earlier, Telegram bots could not interact with each other to prevent infinite loops.
β’ Now, Bot-to-Bot communication is allowed in specific scenarios.
Key Points:
β’ Works in Groups
β’ Works in Business Mode
β’ Enables AI Agents and Automation Workflows
β’ Supports Advanced Bot Interactions
How to Enable: Use @BotFather and enable "Bot-to-Bot Communication Mode"
Docs: https://core.telegram.org/bots/features#bot-to-bot-communication
Source: https://t.me/BotNews/117
core.telegram.org
Telegram Bot Features
This page describes individual bot elements in greater detail. For a general overview of bots, read the introduction to bots first.
xCode
Is your Render app sleeping? Wake it up instantly with @UptimeFlarexBot β‘οΈ Always-on monitoring. No downtime. π By - @CyberXCoding
Guys , currently our @UptimeFlarexBot have some errors and we will fix our bot soon
So currently you all can use uptimerobot.com instead of our bot
So currently you all can use uptimerobot.com instead of our bot
β€2π₯1
TBL Helper AI has been updated and improved!
It is now an expert in TeleBotHost.
Whatβs new:
- Improved knowledge base
- Better code formatting
- Cleaner and more optimized code
Try it and build your bots on telebothost.com
https://chatgpt.com/g/g-690a0a4ffde4819193a77612b76d05e5-tbl-helper-ai
share your feedback
It is now an expert in TeleBotHost.
Whatβs new:
- Improved knowledge base
- Better code formatting
- Cleaner and more optimized code
Try it and build your bots on telebothost.com
https://chatgpt.com/g/g-690a0a4ffde4819193a77612b76d05e5-tbl-helper-ai
share your feedback
bb.txt
25.4 KB
π BB Prompt (Bots.Business)
This prompt is designed for Bots.Business (BJS).
β‘ Best for: developing Telegram bots using AI on Bots.Business
This prompt is designed for Bots.Business (BJS).
β‘ Best for: developing Telegram bots using AI on Bots.Business
tbc.txt
27.6 KB
π TBC Prompt (TeleBotCreator)
This prompt is designed for TeleBotCreator (TPY).
β‘ Best for: building advanced Python-style Telegram bots with AI
This prompt is designed for TeleBotCreator (TPY).
β‘ Best for: building advanced Python-style Telegram bots with AI
β€2
tbh.txt
37.4 KB
π TBH Prompt (TeleBotHost)
This prompt is designed for TeleBotHost (TBL).
β‘ Best for: developing Telegram bots using AI on TeleBotHost
This prompt is designed for TeleBotHost (TBL).
β‘ Best for: developing Telegram bots using AI on TeleBotHost
Telegram Bot Api Docs Search TBL Code
similar to @TeleDocxBot
Command -
TBL -
Developer: @CyberXCoding
platform: telebothost.com ( No ads , free same as bots.business )
similar to @TeleDocxBot
Command -
/inline_queryTBL -
let query = request.query
if (!query) {
Api.call("answerInlineQuery", {
inline_query_id: request.id,
results: [],
cache_time: 1
})
return
}
// Fetch API
let res = await HTTP.get({
url: "https://tg-docs.mvdsdvhj.workers.dev/",
query: {
q: query,
limit: 10,
offset: 0
}
})
if (!res.ok || !res.data || !res.data.results) {
Api.call("answerInlineQuery", {
inline_query_id: request.id,
results: [],
cache_time: 1
})
return
}
let results = []
for (let i = 0; i < res.data.results.length; i++) {
let item = res.data.results[i]
results.push({
type: "article",
id: i.toString(),
title: item.name,
description: item.description,
input_message_content: {
message_text:
"<b>" + item.name + "</b>\n\n" +
item.fullDescription,
parse_mode: "HTML"
},
reply_markup: {
inline_keyboard: [[
{ text: "Source", url: item.link }
]]
}
})
}
// Answer inline
Api.call("answerInlineQuery", {
inline_query_id: request.id,
results: results,
cache_time: 5,
is_personal: true
})
Developer: @CyberXCoding
platform: telebothost.com ( No ads , free same as bots.business )
π€‘3β€2π₯2
ImgBB Image Upload TBL Code
Command -
TBL -
Command -
TBL -
Developer: @CyberXCoding
platform: telebothost.com ( No ads , free same as bots.business )
Command -
/imgbbTBL -
let key = Bot.get("imgbb_key")
if (!key) return Bot.sendMessage("β *API key not set*\n\nUse /set_key first", { parse_mode: "Markdown" })
if (!request.photo) {
return Bot.sendMessage("π€ *Upload Image to ImgBB*\n\nSend any image to get a direct link instantly", { parse_mode: "Markdown" })
}
let photo = request.photo[request.photo.length - 1]
let file = await Api.getFile({ file_id: photo.file_id })
if (!file.ok) return Bot.sendMessage("β *Failed to get file*", { parse_mode: "Markdown" })
let fileUrl = "https://api.telegram.org/file/bot" + bot.token + "/" + file.result.file_path
let up = await HTTP.get({
url: "https://api.imgbb.com/1/upload",
query: {
key: key,
image: fileUrl
}
})
if (!up.ok || !up.data.success) {
return Bot.sendMessage("β *Upload failed*", { parse_mode: "Markdown" })
}
Bot.sendMessage(
"*β
Uploaded Successfully!*\n\n*Link:*\n" + up.data.data.url,
{ parse_mode: "Markdown" }
)Command -
/set_keyTBL -
if (!params) {
Bot.sendMessage("β *Send API key like:*\n/set_key YOUR_KEY", { parse_mode: "Markdown" })
return
}
Bot.set("imgbb_key", params)
Bot.sendMessage("β
*API key saved successfully!*", { parse_mode: "Markdown" })1. Get ImgBB API Key
Go to: https://api.imgbb.com/
2. Set API Key in Bot
/set_key YOUR_API_KEY
Developer: @CyberXCoding
platform: telebothost.com ( No ads , free same as bots.business )
β€3
Pinterest Search API β Free, No Key
Base Url:
https://pinterest-api-bay.vercel.app
Example: https://pinterest-api-bay.vercel.app/v5/pins/search?query=Doraemon
Example Requests:
ββββββββββββββββββ
Full docs β
https://pinterest-api-bay.vercel.app/docs
Developer: @CyberXCoding
Base Url:
https://pinterest-api-bay.vercel.app
Example: https://pinterest-api-bay.vercel.app/v5/pins/search?query=Doraemon
Example Requests:
ββββββββββββββββββ
ββββββββββββββββββ/v5/pins/search?query=cats&count=20/v5/boards/search?query=decor/v5/pins/{pin_id}/v5/users/{username}/v5/users/{username}/pins/v5/users/{username}/boards/v5/boards/{user}/{slug}/v5/boards/{user}/{slug}/pins
Full docs β
https://pinterest-api-bay.vercel.app/docs
Developer: @CyberXCoding
β€4
xCode
Pinterest Search API β Free, No Key Base Url: https://pinterest-api-bay.vercel.app Example: https://pinterest-api-bay.vercel.app/v5/pins/search?query=Doraemon Example Requests: ββββββββββββββββββ /v5/pins/search?query=cats&count=20 /v5/boards/search?query=decorβ¦
We will post the example TBL Code or Bjs Code on 10 reactions
β€8π₯°3π2π₯1π1
xCode
Pinterest Search API β Free, No Key Base Url: https://pinterest-api-bay.vercel.app Example: https://pinterest-api-bay.vercel.app/v5/pins/search?query=Doraemon Example Requests: ββββββββββββββββββ /v5/pins/search?query=cats&count=20 /v5/boards/search?query=decorβ¦
Api Updated
GET or POST Both supported β
Docs with Examples -
https://pinterest-api-bay.vercel.app/example/docs
GET or POST Both supported β
Docs with Examples -
https://pinterest-api-bay.vercel.app/example/docs
β€5
Pinterest Image Search Bjs
Api - https://pinterest-api-bay.vercel.app/example/docs
Command:
Wait for answer: On β
Bjs:
Command:
Bjs:
Developer: @CyberXCoding
platform: app.bots.business
Api - https://pinterest-api-bay.vercel.app/example/docs
Command:
/searchWait for answer: On β
Bjs:
let query = message;
if (!query) {
Bot.sendMessage("Please enter a search query.");
return;
}
User.setProperty("q", query, "string");
HTTP.post({
url: "https://pinterest-api-bay.vercel.app/v5/pins/search",
body: {
query: query,
count: 10,
compact: true
},
success: "/search_result",
error: "/search_error"
});
Command:
/search_resultBjs:
let data;
try {
data = JSON.parse(content);
} catch (e) {
Bot.sendMessage("Failed to parse response.");
return;
}
if (!data.items || data.items.length === 0) {
Bot.sendMessage("No results found.");
return;
}
let query = User.getProperty("q") || "Result";
let botName = bot.name;
for (let i = 0; i < data.items.length; i++) {
let item = data.items[i];
let title = item.title ? item.title : query;
let image = item.image;
let link = item.url ? item.url : "";
let buttons = [];
if (link) {
buttons.push([{ text: "View on Pinterest", url: link }]);
}
buttons.push([{ text: "Copy Image URL", copy_text: { text: image } }]);
let caption =
"<b>" + title + "</b>\n" +
"<i>Query:</i> " + query + "\n" +
"<i>Searched by:</i> @" + botName;
Api.sendPhoto({
photo: image,
caption: caption,
parse_mode: "HTML",
disable_web_page_preview: true,
reply_markup: { inline_keyboard: buttons }
});
}
Developer: @CyberXCoding
platform: app.bots.business
β€4
Pinterest Image Search TBL Code
Api - https://pinterest-api-bay.vercel.app/example/docs
Command -
Wait for answer: On β
TBL -
Developer: @CyberXCoding
platform: telebothost.com
Api - https://pinterest-api-bay.vercel.app/example/docs
Command -
/searchWait for answer: On β
TBL -
let query = message
if (!query) {
Bot.sendMessage("Please enter a search query.")
return
}
User.set("q", query, "string")
let res = await HTTP.post({
url: "https://pinterest-api-bay.vercel.app/v5/pins/search",
body: {
query: query,
count: 10,
compact: true
}
})
if (!res.ok) {
Bot.sendMessage("Request failed. Please try again later.")
return
}
let data
try {
data = res.data
} catch (e) {
Bot.sendMessage("Failed to parse response.")
return
}
if (!data.items || data.items.length === 0) {
Bot.sendMessage("No results found.")
return
}
let savedQuery = User.get("q") || "Result"
let botName = bot.name
for (let i = 0; i < data.items.length; i++) {
let item = data.items[i]
let title = item.title ? item.title : savedQuery
let image = item.image
let link = item.url ? item.url : ""
let buttons = []
if (link) {
buttons.push([{ text: "View on Pinterest", url: link }])
}
buttons.push([{ text: "Copy Image URL", copy_text: { text: image } }])
let caption =
"<b>" + title + "</b>\n" +
"<i>Query:</i> " + savedQuery + "\n" +
"<i>Searched by:</i> @" + botName
await Api.sendPhoto({
chat_id: user.telegramid,
photo: image,
caption: caption,
parse_mode: "HTML",
disable_web_page_preview: true,
reply_markup: {
inline_keyboard: buttons
}
})
}
Developer: @CyberXCoding
platform: telebothost.com
β€5
YouTube Search API β Free, No Key
Base Url: https://youtube-api-sage.vercel.app
Example: https://youtube-api-sage.vercel.app/v1/search/videos?query=Doraemon
Example Requests:
Full docs β https://youtube-api-sage.vercel.app/docs
Developer: @CyberXCoding
Base Url: https://youtube-api-sage.vercel.app
Example: https://youtube-api-sage.vercel.app/v1/search/videos?query=Doraemon
Example Requests:
ββββββββββββββββββ/v1/search/videos?query=music&count=20/v1/search/channels?query=tech&count=20/v1/video/{video_id}/v1/channel/{channel_id}/v1/trending?compact=trueββββββββββββββββββ
Full docs β https://youtube-api-sage.vercel.app/docs
Developer: @CyberXCoding
Pro tip: Add &compact=true to search videos and trending to get smaller responses perfect for bots β only id, title, author, length, views, thumbnail, url.
β€4
Quote API (10 Languages)
Base: https://quote-api-lilac-chi.vercel.app/
Base: https://quote-api-lilac-chi.vercel.app/
/v1/random?count=5&compact=true/v1/category/motivational?count=5/v1/language/hi?count=5/v1/qod/v1/categories/v1/languages
Full docs: https://quote-api-lilac-chi.vercel.app/docs
β€4
