Today when I as usually run my client to read income messages of my Telegram Bot I get the error
{"ok":false,"error_code":401,"description":"Unauthorized"}
I had been successfully used Telegram API every day during a year and never seen this error. I also didn't change any settings
What may happened?
At the page https://core.telegram.org/api/errors I read it's possible to get more detailed error description like AUTH_KEY_UNREGISTERED, AUTH_KEY_INVALID, USER_DEACTIVATED and so on.
But how can I do that?
Is it possible just to add something in the address bar to the request like https://api.telegram.org/bot<MY_TOKEN>/... ?
It may be helpful for someone.
I was not using my main account of Telegram associated with my phone number more than a year. That's why Telegram deleted my main account and accordingly my Telegram bot.
Can someone tell me how I can go about getting access to LinkedIn's Messaging API, I know it is only for approved partners, but there is no info on their support docs how to go about it also I can see multiple posts here on this question have been unanswered. I just want to know if it's possible.
Have looked all over LI's docs, there is no info and support have referred me here.
I need to be able to delete self generated messages by my bot automatically, or clear the entire channel's messages for that matter.
I'm not quite sure I saw anything useful in the Documentation. Is that possible?
I was getting started with telegram bots and I was wondering if there's a way to get a BOT to search through the files posted in a channel (and possibly download them, if the user asks for it).
For instance, if a BOT has a command "/search" and the user searches a file using certain keywords, then the BOT should answer with the requested file, if found on the channel, and it should also provide an internal link to download it.
I noticed that the APIs provide a getFile method that maybe could be useful in this case, I just wanted to know if this thing is achievable!
Hope I've made myself clear!
I made a simple chatbot using Microsoft Bot Framework and integrated it with Telegram.
He works fine whenever I message him privately but whenever I put him in a group with my friends, he doesn't reply, even when I mention him.
/setjoingroups is enabled, and so is /setprivacy.
First make sure it is not caused by Microsoft Bot itself. Then for all normal bots --
Always add a Telegram bot to a group via the bot's info window, instead of inviting the bot to a group via the group's info window.
It's a clear trap for beginners. I'm surprised that Telegram didn't note this in their documentation.
When you configured your bot on Telegram, did you make it an inline bot? It's been my experience that inline bots cannot participate in group chats, but can message privately. If not, please open a GitHub issue here and we'll follow up there.
Beyond all other suggestions like turning off inline functions, setting privacy to disabled and allowing to participate in groups, I also made the bot an admin of my group. And now it processes all messages. That's what's worked for me.
I had this same problem, and I found that I just needed to add the bot as an 'admin' to the chat instead of just a normal member. The telegram bot must have admin privileges to access every message/image that the users of the group-chat send.