I am trying to build a Bot that supports posting apk files into Teams using the BotFramework REST APIs.
I have tried https://smba.trafficmanager.net/amer-client-ss.msg/v3/conversations/${conversationId}/activities
but got the response:
{
"error": {
"code": "BadArgument",
"message": "Unknown attachment type "
}
}
I also tried https://smba.trafficmanager.net/amer-client-ss.msg/v3/conversations/${conversationId}/attachments
and got the response statuscode:404
.
Does Teams not support this?
UPDATE: Teams now supports bots sending and receiving files. As far as I can tell, there isn't a restriction on file types.