26995
Welcome to Bot Talk! 😌 Be nice 🗣 Please use English so everyone can participate 🤖 Keep the topic on bot development ⚠️ Keep media posts like GIFs and stickers to a minimum ❌ Don't add bots to the chat More info - https://t.me/BotTalk/110874
u need to know pattern they encode and decode it, i am not reverse engineering ppl, ask ai or hire them
Читать полностью…
i think this discovery is very important , because i think it hasnt been documented yet:
if working with fast symmetrical internet connections, and a bot api server, the bot api server will throw the files at full speed to telegrams dc.
this means spikes of 40-60mb/s
telegram will drop the connection of that request and will throw 429s
what that means : sustained 429 errors will throttle the upload speed down to below 1 mb or even 0.2 mb/s of upload speed, wich lasts anyways from 12 to over 30 hours. making a bot that uploads media , unusable during the limit.
applied kernel-level upload rate limiting on the Bot API Docker container using Linux tc (traffic control) — caps outbound to Telegram at 20 MB/s regardless of how many concurrent uploads are running, preventing MTProto -429 flood errors. aka ingress policing on the container's veth interface.
so for anybody that was following when i was spamming in here out of frustration and lack of knowledge for what is happening, thinking my bot is going to be taken down anytime , throttling the speed as explained above, was the key for me to solve this.
this means 1.5 months of sleeping badly are finally over it seems....
Well, by the way, what's the joke, the bot that I'm making it works with premium emojis both in messages and in buttons, the main task of the bot is to get an id-emoji and show examples of use. In code.
Читать полностью…
Lol, I know it's just that I was too lazy to look for emoji id
Читать полностью…
I wanted to apply color styling, mostly because of those that use light mode
Читать полностью…
Yes, TY.
I wonder if it supports any other color (maybe navyBlue).
Could you share a screenshot of the display? If you don't mind
Читать полностью…
keyboard = [Читать полностью…
[
InlineKeyboardButton("🔵 Primary", callback_data="primary", style='primary'),
InlineKeyboardButton("🔴 Danger", callback_data="danger", style='danger')
],
[
InlineKeyboardButton("🟢 Success", callback_data="success", style='success')
]
]
yes banned, transfer you bot on another location hosting
Читать полностью…
ayugram - cant trust they have som tos breaking featurs
Читать полностью…
How to know a account is deleted by their chatid
Читать полностью…
The primary one adapts according to the app theme.
Читать полностью…
without premium emojis id you can, just use entities
Читать полностью…
I just showed the person what exactly he wanted to get in return.
Читать полностью…
Well, I noticed if the bot has a wallpaper, then it changes for some reason.
Читать полностью…
Hi chat, I have a question how can I use colourful inline button for bots? BTW I use python-telegram-bot library.
Читать полностью…
using it right now what are the risks i can get into?
Читать полностью…
Tg app , web, everything has ui upgrade , now it's time for desktop :)
Читать полностью…