Skip to content

TeamsInfo should work with CloudAdapter #5685

@EricDahlvang

Description

@EricDahlvang

Version

main branch

Describe the bug

SendMessageToTeamsChannelAsync is currently casting the adapter to BotFrameworkAdapter ((BotFrameworkAdapter)turnContext.Adapter).CreateConversationAsync

https://github.com/microsoft/botbuilder-dotnet/blob/main/libraries/Microsoft.Bot.Builder/Teams/TeamsInfo.cs#L233

This should be updated to work with CloudAdapter since it now also supports CreateConversation.

customer issue reference:
microsoft/botframework-components#1150

Metadata

Metadata

Assignees

Labels

Area: TeamsThe issue is related to Teams supportP1Painful if we don't fix, won't block releasingSize: SThe issue is simple and well understood, it will take a day or less to complete

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions