I currently made bot with node-telegram-bot-api
and a issue I face was I used emojis on a few messages the bot sends and realised few emojis of them are not supported in desktop. Can I detect if user sending message to my bot is in desktop so that I can alternate the replies accordingly?
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
The simple answer for this is No. There’s no way of detecting what platform the user on the other side is on in neither Bot API nor MTProto API.
No, There is no possibility to get user Device Name.
Check User Object: (https://core.telegram.org/bots/api#user)
Check Chat Object: (https://core.telegram.org/bots/api#chat)
CHeck Message Object: (https://core.telegram.org/bots/api#message)