I have a working C# bot for Teams client, but I need to have the same in node.js. I have a problem when I need to update a message I sent, without the Context.
In my C# code, I send a message and save the activity id and the conversation Id where it is sent. To update this activity (when required), I create a new activity and use this saved id:
var activityIdSaved = "xxx";
var conversationId_saved = "yyyyy";
var activity = Bot.Schema.Activity.CreateMessageActivity();
activity.Id = activityIdSaved; // set Id (saved activity Id)
activity.Text = "This is updated text";
await connectorClient.Conversations.UpdateActivityAsync(conversationId_saved, activityIdSaved, (Bot.Schema.Activity)activity);
This works properly in C#, but I can not find which method to use in node.js for the same purpose...
Thanks,
Diego