Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skype is not sending the attachment details along with request object in group chats #4652

Open
Ragu27ag opened this issue Apr 17, 2024 · 7 comments
Assignees
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@Ragu27ag
Copy link

Ragu27ag commented Apr 17, 2024

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

What package version of the SDK are you using.

Describe the bug

I am working on a skype bot built using bot framework sdk using node.js . The issue is when the user is posting any image in the group chat where bot is part of the group and if the user is attaching the image along with bot mention for eg : <-the image-> @sample_bot , only the bot mention is getting received in the bot backend and the attachment related things are not received in the request object.I need the attachment details for parsing the image

To Reproduce

Steps to reproduce the behavior:

  1. Go to skype group chat where bot is part of it
  2. attach an image in the chat box along with bot mention as we are sending this to the bot
  3. check the log after sending this message

Expected behavior

we wont be having any image related details in the request object in the log

tempsnip

@Ragu27ag Ragu27ag added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels Apr 17, 2024
@Ragu27ag
Copy link
Author

Any update on this issue?

@Ragu27ag Ragu27ag changed the title Skype bot is not sending the attachment details along with request object in group chats Skype is not sending the attachment details along with request object in group chats Apr 23, 2024
@tracyboehrer tracyboehrer transferred this issue from microsoft/botframework-sdk Apr 24, 2024
@Ragu27ag
Copy link
Author

Ragu27ag commented May 2, 2024

@tracyboehrer is there any update on this issue?

@tracyboehrer
Copy link
Member

@Ragu27ag Concerning "...not received in the request object.I need the attachment details for parsing the image"

I assume you mean the incoming Activity? Can you provide what you are receiving?

@Ragu27ag
Copy link
Author

Ragu27ag commented May 6, 2024

@tracyboehrer
If I send the image in a group chat where bot is a participant along with bot mention to specifically send to the bot
sssht

I am
receiving this in the request body

obj2

Here the image related details such as content url is not getting received if i send to the bot from a group.

If image is sent directly to the bot instead of sending image from the group its working fine.
botdirect

But i need to send image from the group.

@Ragu27ag
Copy link
Author

@tracyboehrer any update for this issue?

@sw-joelmut
Copy link
Collaborator

Hi @Ragu27ag and @tracyboehrer,

We reproduced the issue, happening in both JS and .NET bots.
Inspecting how Skype sends messages to the bot and what it receives, the problem isn't related to BotBuilder SDK, as it receives the information from the Azure bot service (ABS).
What seems to be happening is that Skype sends two separate messages, one for the image and one for the mention; the mention is the only one sent to the bot, whereas the image is sent just to the group (as this message doesn't contain any mention whatsoever).
Either this way isn't supported by ABS, or Skype just sends the "mention" message without the image.
image

@ceciliaavila
Copy link
Collaborator

@tracyboehrer, this issue can be closed, it's not a problem in the SDK. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

4 participants