Telegram bots not working After this error:Account Suspended - bots

Hello
My hosting account was blocked, but reopened after 6 hours,
But my robots didn't work anymore,
I tried the setwebhook again, but it didn't work.
What should I do?

Write to Telegram #botsupport or try to regenerate API token and set webhook again.

Related

Teams Bot suddenly “404 not found”

I’ve been running a MS Teams bot without issues for about half a year now. It is written in Python, using the bot builder SDK, and connected to Teams/Azure via ngrok. Users use it by clicking on the link, which opens up the chatbot in their Teams app (desktop or mobile).
Out of a sudden, some time on 3rd Feb 2023, the bot started having issues sending replies out. And reports a “404 not found error” in ngrok. There’s been no changes to the chatbot’s code.
To be clear, the bot is able to receive the user inputs, but fails to send the replies out.
Would anyone know why?
Finally found the answer. The app secret value expired and simply needs to be renewed. I had suppressed the trackbacks, not expecting that I would one day miss this.

Getting the response twice on every time in skype channel

Hi I am working on bots and It’s working fine in local bot emulator as well as bot channel’s.
Here my problem is when I am using bot application in skype, the response coming from bot twice in every time and rest of the channels its working fine.
Can anyone please tell me how to resolve the issue in bots ?

Microsoft Bot Framework integration with Slack is broken

I am developing chatbot for Slack using Microsoft Bot Framework. The Web app is hosted on azure. We have few installations.
Everything worked fine before this morning when I saw that new bot just didn't respond (the old one is still working).
We've been experimenting on permissions and auth keys on slack, so I thought that was the reason. But I tried to reinstall the app, bot user, auth keys etc from scratch and it didn't help. My configured endpoint just don't hit.
I think the issue is in communication between Slack and Microsoft Bot Framework, 'cos when I'm testing from chatbot panel's web client everything is working fine. Also, Slack representatives confirmed that there's no problem from their side.
UPDATE: I re-checked all credentials again and seems like it's working, don't know what was the issue. But two side questions still actual:
1) Can I test this channel of communication somehow? Cos when my endpoint didn't hit I can't get any info on what is happening. I have 0 errors on Microsoft Bot Framework web console.
2) Docs on configuring slack channel have changed recently and now it suggesting to add "Subscribe to Bot Events", while everything worked w\o it. Can you elaborate on that? Also, it's not quite clear what is {YourBotHandle} docs referring to in https://slack.botframework.com/api/Events/{YourBotHandle}
Usually, the Bot Framework Portal is the place to see if any channel is reporting errors with your bot. You can also check https://github.com/Microsoft/BotBuilder/issues just in case there is a general problem with a channel.
Regarding the second question, {YourBotHandle} refers to the handle that you provided at the time of registering your bot, as explained here.
As far as why you need to subscribe to bot events, first I would recommend you to read the documentation about Events on Slack (here), but long story short, this allows the bot to subscribe to events and be notified when those happen instead of having the bot asking Slack if something happened or not.
One way to use the Events API is as an alternative to opening
websocket connections to the real time messaging API. Instead of
maintaining one or more long-lived connections for each team an
application is connected to, you simply set up one or more endpoints
on your own servers to receive events atomically in near real-time.

Kik bot raises "kik.error.KikError" error when used in a group, but works in 1 to 1 chat

I have created a test bot named pepememe.bot using the python library provided by kik. The bot works fine when I am chatting to it using private message.
But fails with the below error when I use it in my group.
kik.error.KikError: {"message":"You are not allowed to send a message to this conversation","error":"Forbidden"}
A point to note is that it did work for sometime in my group, but suddenly started throwing that error. I have emailed Kik Bots Support about this, but they haven't replied back. What should I do to solve this issue?
I see that your bot is not approved.
There is a 50 subscribers limit for unapproved bots, check if you are over the limit.
Also it is possible that Kik blocked access to group chats for unapproved bots.

Skype Echo Bot for NodeJS: Messages Not Appearing in Skype App

I am following this Echo Bot Tutorial, and have gone through all of the basic steps regarding setup and registration. I am following the steps (near the bottom) regarding local testing, and have been using ngrok successfully.
I was able to add my Skype Bot as a contact, and I also have the latest version of the Skype app (Mac). When I send a message to the bot via the Skype app, I see the message appear in the debug notes in my terminal window. So I know that the messages I type are coming through.
I also see this:
skype-sdk.MessagingServiceClientV2 Sending message to 8:username with content Hey 8:username. Thank you for your message: "test".
However, I do not see any kind of reply in my Skype application. My expectation is that the bot would echo back my message to me.
My questions are:
1) When testing locally using the ngrok method described in the tutorial, should I be able to see activity from the Skype bot (in terms of messages to me)?
2) I am guessing this may be some an authentication issue? How can I best troubleshoot things, and get the Skype bot to actually respond in the Skype app?
I feel like I am incredibly close to getting this working, in that the messages I send are coming through... but the messages I expect from the Skype bot are not coming through. Any help or ideas greatly appreciated!
Found the fix, and posting it here should anyone else run into the same issue.
During the setup process, when I was using the Application Registration Portal, I selected the wrong string as my Application Secret.
Originally, I clicked on Generate New Key Pair, which resulted in a new entry appearing in the admin labeled Private Key. I used this string as my App Secret.
However, it appears that what I should have done was click on Generate New Password and used *that string instead**. Just gave it a try, and my bot is now responding back to me locally (in the Skype app), when testing with ngrok.
I think this particular distinction could have been made clearer in the documentation, as I lost a great deal of time due to this one oversight. Oh well, at least I can start developing now...

Resources