botframework

How do I send code snippets in MS Teams using Python's SDK framework?

How do I send code snippets in MS Teams using Python's SDK framework? Question: I can’t seem to find a way to send code snippets using Python’s SDK module. This is what I’m referring to. I tried using three backsticks “` and <codeblock> tags, but these are regular code blocks and not snippet codes. code_snippet …

Total answers: 1

Attached PDF to MS Teams chatbot

Attached PDF to MS Teams chatbot Question: I am trying to attach a pdf file in a MS Teams bot. I get the following error " [on_turn_error] unhandled error: (BadArgument) Unknown attachment type". Would anyone know why it might not work? The following is a portion of my code that concerns the error… unfortunately since …

Total answers: 1

I cant see my adaptive card on the Bot builder emulator, it appears as blank

I cant see my adaptive card on the Bot builder emulator, it appears as blank Question: I’m using Python Bot Builder framework and I’m testing it on the emulator. Now I know that my adaptive card JSON file is perfect because it show’s all the data as I desired on both VisualStudio Code and https://adaptivecards.io/designer/. …

Total answers: 2

what is happening on os.environ["DJANGO_ALLOW_ASYNC_UNSAFE"] = "true"

what is happening on os.environ["DJANGO_ALLOW_ASYNC_UNSAFE"] = "true" Question: I am creating a bot using botframework within a django application. At first, I was not able to call the models of that application from the bot. I found a solution, which was to put os.environ["DJANGO_ALLOW_ASYNC_UNSAFE"] = True in the settings.py file. It works fine for me. …

Total answers: 2

Microsoft Teams bot using Python

Microsoft Teams bot using Python Question: I’m working on a project that involves sending adaptive cards to Group Chats (not channels) and I also want to receive any response from users and follow up to execute other actions (Update card, Log down responses, Comments etc…). From what I’ve gathered, “Incoming Webhooks” does not work in …

Total answers: 2