Skype: Not able to send file attachment to user
I am not able to send file attachment from BOT to user in Skype.
I am using BOT builder version 3.5.0.
Below is my code.
ConnectorClient connector = new ConnectorClient(new Uri(activity.ServiceUrl));
Activity reply = activity.CreateReply("blah");
reply.Attachments = new List
attach.ContentType = "application/pdf"; // I can browse the below URL in browser and access the PDF attach.ContentUrl = "https://test.azurewebsites.net/Image/Test.pdf"; attach.Name = "Test.pdf"; attach.Content = "Test"; attach.ThumbnailUrl = attach.ContentUrl; reply.Attachments.Add(attach); await connector.Conversations.ReplyToActivityAsync(reply);
Send files from a user to a bot is not yet supported. We are aware of this gap and will address it as early as we can.
@nickcordrey I assume you meant send files from Bot to User. This is something that clients are asking for. Bots can send image as attachment, but clients would also like the bot to send a file to the user. Example scenario: User asks bot information regarding some product and Bot sends the Product brochure.
Is there any update about solution?
any updates? I am also facing the same issue. My BoT is able to send attachments, when I test same on Emulator, bot not on skype. Please, help me out!
This would be great. Even if its a web hosted PDF. Currently my bot returns "Failed with message: Unknown attachment type"
The WebChat works perfectly tough.
Same issue here. Any updates?
I have same issue. How to send an .docx attachment to user?
@nickcordrey hi. any update on it?
@nickcordrey I am getting Unknown mime type for application/pdf and application/octet-stream in Skype
I am also facing the same issue in sending pdfs. Any updates?
I am also facing the same issue. Both bot framework and Skype are Microsoft products. My boss is going to kill me for using bot framework and Skype. Please help!!!