Skip to content

Tag: telegram-bot

How to send custom emoji by Telegram bot?

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://te…

Telegram sendPhoto with multipart/form-data not working?

Hi I am trying to send an image. The documentation states that I can send a file using multipart/form-data. Here is my code: In both cases, I get this response: Other download methods (by ID and by link) work. Can anyone please point me in the right direction? Answer Using the php-telegram-bot library, sendPh…