Hi all,
I have an issue with suggestions after message is updated.
here is an sample example :
var messageActivity = new MessageActivity(messageText)
.WithSuggestedActions(
new SuggestedActions()
{
To = [activity.From.Id],
Actions = [
new Microsoft.Teams.Api.Cards.Action(ActionType.IMBack) {
Title = $"Execute",
Value = "test"
}
]
}).AddAIGenerated().AddFeedback();
var responseActivity = await client.Send(messageActivity );
//....
//....
//....
var updatedMessageActivity = new MessageActivity(updatedMessageText)
.WithSuggestedActions(
new SuggestedActions()
{
To = [activity.From.Id],
Actions = [
new Microsoft.Teams.Api.Cards.Action(ActionType.IMBack) {
Title = $"Execute",
Value = "test"
}
]
}).AddAIGenerated().AddFeedback();
updatedMessageActivity .Id = responseActivity.Id;
await client.Send(updatedMessageActivity );
Is this a bug or is there another way to update activities in Group Chat and keep suggestion visible, stream is not an option.
Thx in advance
Hi all,
I have an issue with suggestions after message is updated.
here is an sample example :
Is this a bug or is there another way to update activities in Group Chat and keep suggestion visible, stream is not an option.
Thx in advance