python-telegram-bot 8 not seeing other bots messages - python-telegram-bot

I´m using python-telegram-bot 8 and my bot is not processing messages that are sent by other bots in a group
Works OK with other users (not bots)
why my bot, don't see other bots messages?
def main():
updater = Updater(bot_token)
dp = updater.dispatcher
dp.add_handler(MessageHandler(Filters.text,check_msg))
dp.add_handler(MessageHandler(Filters.video | Filters.photo | Filters.document, check_file))
dp.add_handler(MessageHandler(Filters.sticker, check_sticker))

According to Bot FAQ, bots will not be able to see messages from other bots regardless of mode.
The only exception is the channel, if your bot is an admin of channel, they can see any messages.

Related

How to send a message to a thread (reply) using a Bot Framework SDK 4.18 Teams

Scenario:-
User A -> Types a message in Teams App (bot)
Now Bot has to reply to the same thread that user A has started in Teams App (bot)
I am able to send a new message in the Teams App (bot) - Not expected
The bot needs to reply to the same thread the user started - Expected
Did not find any reply method in the below documentation.. continueConversation creates a new message.
https://learn.microsoft.com/en-us/javascript/api/botbuilder-core/turncontext?view=botbuilder-ts-latest#botbuilder-core-turncontext-getmentions&preserve-view=true
https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/conversations/conversation-basics
The bot cannot give the reply to the same thread that user started. This is by design behaviour.
Bot can reply to an existing message but it looks new message not like reply, call ReplyToActivity in .NET or session.send in Node.js. The Bot Builder SDK handles all the details.
If you choose to use the REST API, you can also call the /v3/conversations/{conversationId}/activities/{activityId} endpoint.
Ref Doc: https://learn.microsoft.com/en-us/microsoftteams/platform/resources/bot-v3/bot-conversations/bots-co...
If you wish you can suggest this feature on - Microsoft Teams · Community

Microsoft Teams no install event - can't send welcome message

Up until this Friday, MS Teams would always send a conversationUpdate event payload to our bot messaging endpoint whenever a user installed our app in Teams.
This stopped happening suddenly and now we only get a message when an app is added to a Team scope and not just personal scope.
Given that: how do we know to send a Welcome message via our bot to a user that installed our app if we receive no message, no payload. Nothing hits our bot messaging endpoint.

How To Post A Message On Behalf Of The User In Microsoft Teams App?

I'm working on an integration between Microsoft Teams and Slack.
I'm building a Microsoft Teams application which is connected to a Microsoft Bot.
Additionally, I created a server for:
Listening to messages which were sent by users in Slack (via Slack webhooks)
Posting them in Microsoft Teams conversation as a user message to the bot (outgoing message)
I receive messages from Slack (which were sent by a Slack user) to my server and I wish to post them in Microsoft Teams as messages from the user to the bot and I'm not able to do so.
I'm able to send messages from Bot to user in Microsoft Teams app via Microsoft Bot's "botbuilder" Node.js SDK:
session.send(message);
How can I send the message on the other direction (from user to bot)?
You can't. See this question for more info, but the short version is:
The BotFramework has no direct way to do this.
Even the Teams Graph API doesn't currently support this. They're working on it, but don't have an ETA.
The closest thing to a workaround would be:
User writes message in Slack to Bot
Bot receives message and posts a proactive message in Teams, something like:
User #louis1600 said: "blah blah blah"
Resources:
Proactive Messages in Teams
#mention-ing users in Teams with a Bot
The many other Teams Bot related questions I've answered

How to request undelivered messages in BotFramework?

I can send a message to Skype user and I can receive message from him. But I can't get messages that user sent to bot while server is down.
For example, Facebook Messenger Platform will resend the webhook event every 20 seconds, until a 200 OK response is received. Viber also used webhook url. But Skype does not resend to my bot at least 15 minuts.
I realized a simple Echo Bot. The bot messaging endpoint isn't Azure. The bot is not published, but can be added to Skype contacts. I use REST API.
Any help is welcome. Sorry for my bad English

Microsoft botframework and Slack configuration

I'm using Microsoft's botframework to create a Slack bot, however I'm running into 2 problems.
When I do "Test connection to your bot" I'm getting
InternalServerError
no_text
When I type in the test chat console on the botframework page, the messages are received in my slack general channel. However, when I as a user in my slack and type in the general channel, whatever I type the bot also generate the same message. i.e.
me: Hello
bot: Hello
I think it's how I set up my configuration for the slack bot app and/or the messaging endpoint of my botframework bot.
Thanks.

Resources