My Bot works as an Intermediate channel between users -skype users-, In other words, one of its work to catch a message from one user and forward this message to another one,
Currently, I can get the text and photo message and forward it without any problems, using the below code.
IMessageActivity message = Activity.CreateMessageActivity();
message.Text = msg.text ?? msg.botTalk;
if (msg.contentType != null && msg.contentUrl != null )
{
message.Attachments.Add(new Attachment
{
ContentType = "image",
ContentUrl = "data:image/jpg;base64," +msg.base64incode,
});
}
await connector.Conversations.SendToConversationAsync((Activity)message);
The above code works perfectly for (text and image messages); I download images using Httpclient then convert it to base64; the original link for skype some think like this
So is there any way to forward a message without download it and then send especially when sending messages that are not images