botframework
botframework copied to clipboard
How to handle messages with an attachment?
When trying to send a message with an attachment, im getting an error exception, how can i handle this?
` if (activity.Type == ActivityTypes.Message) { try { await Conversation.SendAsync(activity, MakeRoot); } catch (Exception ex) {
}
}`
Exception: The remote server returned an error: (400) Bad Request. [File of type 'text/plain']