We think about new bot architecture - Smart Bot.
Benefits:
We have much more standard bot answers: like answer, keyboard, inline keyboard, photo - and etc
It is very simple methods but it hard to quick fix it. Because hard to find all texts and etc.
Also it is very hard to coding several languages.
With such architecture we will have simple JSON!
All hard logic will be possible in command as before.
Benefits:
We have much more standard bot answers: like answer, keyboard, inline keyboard, photo - and etc
It is very simple methods but it hard to quick fix it. Because hard to find all texts and etc.
Also it is very hard to coding several languages.
With such architecture we will have simple JSON!
All hard logic will be possible in command as before.
π4β€3
What do you think about SmartBot idea?
Anonymous Poll
35%
I don't understand
11%
It is not good
11%
I don't need
15%
It is hard
32%
It is good. We can isolate logic and content. It can be useful for multi language bot and simple bot
30%
I want to see results
26%
π₯±
π₯5π2
Api methods fixed:
copy_message, create_chat_invite_link edit_chat_invite_link, unpin_all_chat_messages, set_sticker_set_thumb
All supported methods now:
copy_message, create_chat_invite_link edit_chat_invite_link, unpin_all_chat_messages, set_sticker_set_thumb
All supported methods now:
β€5π₯2π1
MCLib fix:
Fixed: chat verification is skipped now for already deleted from Admin Panels chats.
Fixed: chat verification is skipped now for already deleted from Admin Panels chats.
#json
// JSON parsing bug workaround
let myData;
try {
myData = JSON.parse(content);
}catch(e){
// now on error you can see what text do you have in content
// and you can check this text in JSON validator
throw new Error('JSON parsing error: ' + content)
}π2
Bots.Business
β οΈβ οΈβ οΈ We start deletion of old props! π« All old props for 1 year stopped bots will be destroyed! Only props NOT bots! How to save data? - just restart your bot again and run /start - or put in your old BB Account 50 Eps or more. It is only 1 bb pointπ
Approx 20 Mln old props - deleted
π₯3
Bots.Business
π If you use own prefix for RefLib insted of default "user"! Need update here. Please see help for RefLib It is more easy to change ref link prefix! And you can change it in anytime (but old links will be deprecated) RefLib.track({ onTouchOwnLink: onTouchOwnLinkβ¦
Import! Your Ref system can be not working now!
If you have this
https://t.me/bot?start=100
Or
https://t.me/bot?start=r100
And etc
Instead of:
https://t.me/bot?start=user100
It is custom ref prefix! Need fix! Read this
https://t.me/botsbus/1870
If you have this
https://t.me/bot?start=100
Or
https://t.me/bot?start=r100
And etc
Instead of:
https://t.me/bot?start=user100
It is custom ref prefix! Need fix! Read this
https://t.me/botsbus/1870
Telegram
Bots.Business
π If you use own prefix for RefLib insted of default "user"!
Need update here. Please see help for RefLib
It is more easy to change ref link prefix! And you can change it in anytime (but old links will be deprecated)
RefLib.track({
onTouchOwnLink: onTouchOwnLinkβ¦
Need update here. Please see help for RefLib
It is more easy to change ref link prefix! And you can change it in anytime (but old links will be deprecated)
RefLib.track({
onTouchOwnLink: onTouchOwnLinkβ¦
π8β€1π1
We have more useful error messages now. Before (1 pic) and now (2 pic)
π1