Forwarded from Bots.Business
How to make own BJS Api gateway?
Web App version
Command /getUrl
https://help.bots.business/bjs/web-app#passing-data-to-bjs
command cloneBot:
Web App version
Command /getUrl
// just run this command and you will have url for your own APISo you will have url and you can pass any data via it from your external App:
var url = WebApp.getUrl({ command: "cloneBot" });
Bot.sendMessage(url)
https://help.bots.business/bjs/web-app#passing-data-to-bjs
command cloneBot:
BBAdmin.installBot(
{
// bot will be cloned to this email
email: options.email, // you pass email via url params
// see bot id in the app -> Bots -> Bot
bot_id: options.bot_id,
// you can pass bot token if you want
token: options.bot_token,
// bot can be installed as protected
// as_protected: true,
// you can pass properties to bot:
// bot_properties: [
// { name: 'test',
// value:'hello world',
// type:'string' }
// ]
}
)
WebApp.render({ content: "Bot cloned" });
Now you can use this own API from your any external apphelp.bots.business
Web App | Bots.Business - Help
With web app you can render web content
Webhook Lib update:
- all request options now like Headers, IP, Params and etc
- result from BJS in { answer: YOUR_DATA }
- status can be 200 or 503
See help:
https://help.bots.business/libs/webhooks-lib
- all request options now like Headers, IP, Params and etc
- result from BJS in { answer: YOUR_DATA }
- status can be 200 or 503
See help:
https://help.bots.business/libs/webhooks-lib
π3π₯1
π6
Oxapay lib fixed:
add hmac signature
π₯Update: need reinstall OxaPay lib in your bot
add hmac signature
π₯Update: need reinstall OxaPay lib in your bot
β€2π₯2
We have orange Apdex on status.bots.business.
But it is bad only from Singapore. France and Germany have good speed. Seems it is our checker toll issue not BB.
But it is bad only from Singapore. France and Germany have good speed. Seems it is our checker toll issue not BB.
π€2
Suddenly long update. It was quickly on test stand but real BB have bigger traffic and database.
Sorry for waiting
Sorry for waiting
π₯4π2β€1π1
Unfortunately the update had to be canceled due to excessive downtime.
We will analyze the errors and make it later. There will be separate news about service times.
Sorry π
We will analyze the errors and make it later. There will be separate news about service times.
Sorry π
π€¬6π€2π1
Can we remove props for old bots?
Anonymous Poll
46%
Yes. You can remove props for bots stopped for 1 years
13%
Yes. Remove props for bots stopped for 2 years
22%
No!
12%
I don't understand
7%
Just see results
π3π3
Get Top Refferal List
It is not working now due performance reason.
List ordering rework is needed.
We can't support it now because we can have downtimes with thisπ
It is not working now due performance reason.
List ordering rework is needed.
We can't support it now because we can have downtimes with thisπ
π€¬15π3π±2π1
Webhook Lib: Possible issues
In the case of a large number of requests from an external web service, such a web service may be subject to ban filters.
Please provide an external IP address and we will add it to the White List.
In the case of a large number of requests from an external web service, such a web service may be subject to ban filters.
Please provide an external IP address and we will add it to the White List.
Top priority tasks now:
It is just list without fixing priority
- πͺ² 1000 timeout errors with props
- π₯ List ordering + searching
- πͺ²MCL - fixing
- πͺ² Bot.runAll - fixing
- πͺ² Another error with Broadcasting
- π₯ Update all request - new feature
- πͺ²Admin Panel saving button not works
β οΈ All tasks have asap priority.
Fix in progress
It is just list without fixing priority
- πͺ² 1000 timeout errors with props
- π₯ List ordering + searching
- πͺ²
- πͺ² Bot.runAll - fixing
- πͺ² Another error with Broadcasting
- πͺ²
Fix in progress
π5π₯1
Automatic props cleaning
will be run from next week
- all props (all bot's props) for bots without active chats for more than a year
- all props (user's props only) for users without active chats for more than a year
will be removed!
How to prevent this?
Bot's props:
- you can start your bot and write any message to bot in any bot chat
- or you can have more then 100 EPs in your account (this bot account)
User's props:
- write as user to bot
Why we need this?
We have more then 500 000 000 props in BB for all time. It's a really big database.
Old props not needed.
- More then 55% of users agree with this:
https://t.me/botsbus/1781
- you can easy save bot props (not user's props) - it is 100 EPs only
will be run from next week
- all props (all bot's props) for bots without active chats for more than a year
- all props (user's props only) for users without active chats for more than a year
will be removed!
How to prevent this?
Bot's props:
- you can start your bot and write any message to bot in any bot chat
- or you can have more then 100 EPs in your account (this bot account)
User's props:
- write as user to bot
Why we need this?
We have more then 500 000 000 props in BB for all time. It's a really big database.
Old props not needed.
- More then 55% of users agree with this:
https://t.me/botsbus/1781
- you can easy save bot props (not user's props) - it is 100 EPs only
π₯12β€1π1π1π€¬1
Bots.Business
Top priority tasks now: It is just list without fixing priority - πͺ² 1000 timeout errors with props - π₯ List ordering + searching - πͺ² MCL - fixing - πͺ² Bot.runAll - fixing - πͺ² Another error with Broadcasting - π₯ Update all request - new feature - πͺ² Adminβ¦
FIXED:
πͺ² Admin Panel saving button not works
πͺ² Admin Panel saving button not works
π»5π2