I want to send premium emojis by Telegram bot (I have a premium account and created a bot with it), but when I try to send it (I send emojis to the premium account), unfortunately, the emoji is sent normally. my code: Message should be like this: Answer This feature will be activated in the future. https://telegram.org/faq_premium#q-can-i-buy-a-premium-subscription-for-my-bots
Tag: telegram
inline keyboard on telegram error 400 bad request
I wanna send a json encoded keyboard as reply markup but I get error 400 bad requset! This is how json looks like: and this is how the code looks like: I’ve also tried deleting one of the [ ] but it didn’t work. Answer I actually find the problem. It was a problem with data size. As Telegram says,
Telegram bot – sendMessage text
I have 2 problems with programming telegram bot by PHP. problem: please, When I try send text with more lines by using API of telegram. By this code: <?php $update = file_get_contents('php://…
Is there a bulk messaging limit in telegram bots?
I was sending messages to all my bot subscribers and when the subscribers reach about 400, my bot doesn’t send messages to all but few. my code is in php and I’ve used the sleep() function. I tested it and found out that while sending the message if the messages aren’t sent in 1 min the sending process stops and
Telegram bot sendMessage parse_mode generates HTTP/1.1 400 Bad Request
Using the HTTP API of telegram to send message in PHP like the following: $msg = “New Comment is **added** from:n”.$domain; file_get_contents(‘https://api.telegram.org/botTOKEN:CODE/sendMessage?…
telegram bot SSL error: SSL error {error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed}
I use let’s encrypt free SSL (my host provider support it by default), I checked my site at sslshopper.com (the only warning was: The certificate is not trusted in all web browsers. You may need to install an Intermediate/chain certificate to link it to a trusted root certificate. Learn more about this error. The fastest way to fix this problem