If anybody have and issues and questions fell free to tell us in commets
β€1 1
TeleBotHost
Finally we have some updates now Updated things 1. New features and fixes 2. Api.xxx chained feature 3. request object in Webhook Upcoming fixes and current Bugs
https://t.me/TBHCodes/40
And example posted on the latest Api.xxx response chaining to make your bot devolopment more faster
And example posted on the latest Api.xxx response chaining to make your bot devolopment more faster
Telegram
TBL Codes
An example of the latest Api class respose chaining
//First let's send a message
let initMes = await Api.sendMessage({
text: "This message going to be Edited"
})
// Or u can use Bot.sendMessage too
//Now let's edit it
initMes.editText("Hey this isβ¦
//First let's send a message
let initMes = await Api.sendMessage({
text: "This message going to be Edited"
})
// Or u can use Bot.sendMessage too
//Now let's edit it
initMes.editText("Hey this isβ¦
But we need your support to keep it running smoothly and grow stronger
Hereβs how you can help:
Letβs keep building a stable, long-lasting community together!
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3 3π€―1 1
β€2π€©1π€1
Forwarded from TBL Codes
let content = "Hello World! This is a test file.";
let buffer = Buffer.from(content, 'utf8');
Api.sendDocument({
document: buffer,
filename: "test.txt",
caption: "β File from buffer"
});
TBL now support direct file sending as a <Buffer>
β€3 3 2
Check our Status Page to stay updated on our service uptime and performance:
https://status.telebothost.com/
https://status.telebothost.com/
Telebothost
TeleBotHost status
Welcome to TeleBotHost status page for real-time and historical data on system performance.
π4 3πΏ1
π€ @TgDocsXBot β Instantly search Telegram documentation for quick and accurate help.
TeleBotHost pinned Β«π How to Host Telegram Bots for Free | Full Guide (2025 ) Using Telebot Host Learn how to host your Telegram bots 24/7 for FREE using TeleBot Host π₯ Watch basic video now on YouTube: π How to Host Telegram Bots for FREE | Full Guide (2025) Using TeleBotβ¦Β»
How to clone bot in TeleBotHost
How to tranfer bot in TeleBotHost
Docs : https://telebothost.com/docs/#class-tbl
const res = await TBL.clone({
bot_id: bot.id,//bot id required
start_now: true,//if want to clone and start now , optinal
bot_token: '12345:abc', //start_now needs bot token for which bot need to start , optional
all_prop: true, //true if want all prop to copy only bot prop supported, optional
bot_props: {
theme: 'dark', //prop 1
welcome: 'Welcome to my new bot!' //prop2
} //Custom prop to pass , auto type detection , optional
});
Bot.inspect(res)//check the response
/*
{
ok: true,
result: {
bot_id: 544xxxxx,
bot_name: 'Tbl Test',
owner: 'mymail@telebothost.com',
commands_count: 9
}
}
*/How to tranfer bot in TeleBotHost
const result = await TBL.transfer({
bot_id: bot.id,
to_mail: 'newuser@telebothost.com'
});
//TBL.clone and TBL.transfer are both async need awaitDocs : https://telebothost.com/docs/#class-tbl
β€4π2 2π1
You donβt need to use
Since the crypto library is one of the most commonly used, itβs included by default.
And also form-data library also default as FormData so you can use
https://telebothost.com/docs/#module-crypto
Update: https://telebothost.com/docs/#crypto-formdata-update
modules.crypto.xxx β you can simply use crypto.xxx. Since the crypto library is one of the most commonly used, itβs included by default.
And also form-data library also default as FormData so you can use
FormData.xxxhttps://telebothost.com/docs/#module-crypto
Update: https://telebothost.com/docs/#crypto-formdata-update
We have updated few things:
1. updated our Webhook class
2. Added Webapp class
3. Updated res class
Tip: Webhook and Webapp class are just for genarate the URLs, and res is for sending response to client
If any error occurs just fell free to tell us
1. updated our Webhook class
2. Added Webapp class
3. Updated res class
Tip: Webhook and Webapp class are just for genarate the URLs, and res is for sending response to client
If any error occurs just fell free to tell us
π3π1
TeleBotHost
Added Webapp class
Let's make APIs, websites together π
Please open Telegram to view this post
VIEW IN TELEGRAM
π2π₯°1
Should we also add Login/Signup using phone number on our website?
If your number is on WhatsAppπ , the OTP will be sent there β
Otherwise, you can login/signup with your email βοΈ
What do you think β good idea?π€
If your number is on WhatsApp
Otherwise, you can login/signup with your email βοΈ
What do you think β good idea?
Please open Telegram to view this post
VIEW IN TELEGRAM
β€4π€―2π1
TeleBotHost
Upcoming fixes and current Bugs
π Update: Async Error Handling Fixed!
Weβve just rolled out an important fix for the Bot class async behavior π οΈ
Now all Bot methods like
Also, message-related methods such as
β More reliable
β Easier debugging
β Cleaner flow
Read more here:
https://telebothost.com/docs/#async-error
Weβve just rolled out an important fix for the Bot class async behavior π οΈ
Now all Bot methods like
Bot.run() and Bot.runCommand() will throw errors properly β no more silent failures! Also, message-related methods such as
Bot.sendMessage() will now log errors directly in your bot error logs β More reliable
β Easier debugging
β Cleaner flow
Read more here:
https://telebothost.com/docs/#async-error
β€239π53 4 3π€©1
Weβve fixed a lot of issues β now you can run any production-ready bot smoothly! π
But honestly, itβs a bit sad to see that weβre not getting much support π
Weβre offering a completely ad-free and free-to-use platform for developers to express their bot ideas β without charging even a single penny.
Other platforms filled with ads get users sharing their codes publicly,
but for us, only a few (2β3) users are sharing their work.
If you truly believe in open and free bot development,
please help us by sharing and supporting this mission β€οΈ
But honestly, itβs a bit sad to see that weβre not getting much support π
Weβre offering a completely ad-free and free-to-use platform for developers to express their bot ideas β without charging even a single penny.
Other platforms filled with ads get users sharing their codes publicly,
but for us, only a few (2β3) users are sharing their work.
If you truly believe in open and free bot development,
please help us by sharing and supporting this mission β€οΈ