I am building an MS Teams bot. According to this sample, botbuilder framework supports audio, but when I actually try to do it in MS Teams it doesn't work, in that it shows the following:
Here is my code:
async def send_audio(self, audio):
logger.debug(f"Sending {audio}")
card = AudioCard(
title="",
media=[MediaUrl(url=audio)],
)
await turn_context.send_activity(MessageFactory.attachment(CardFactory.audio_card(card)))
inspired by:
How can I send audio from my bot to a user? A working sample would be best, but please don't point me to MS Documentation (It is total crap!)
The following cards are implemented by the Bot Framework, but are not supported by Teams: