Skip to content

Problem with Member_2 / Member and sendMessage method #11694

Answered by qinezh
ShadyManu asked this question in Q&A
Discussion options

You must be logged in to vote

There're two Member types in TeamsFx SDK:

  1. (conversation) Member
  2. (conversationWithCloudAdapter) Member

The first one is actually deprecated as one of its property (conversation) TeamsBotInstallation is deprecated and it's recommend to use the new type with the same name (conversationWithCloudAdapter) TeamsBotInstallation.

There's type error from your code is, type of (conversationWithCloudAdapter) TeamsBotInstallation is retuned by buildTeamsBotInstallation, while the constructor of (conversation) Member requires type of (conversation) TeamsBotInstallation

For your issue, you may take a look at the sample app of Large Scale Notification Bot if you have performance concerns about sending …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ShadyManu94
Comment options

Answer selected by qinezh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants