


#RSABNZBD RSS BOT WORKING AFTER UPDATE UPDATE#
To update existing card on a button selection, pass a new Activity object with updated card and ReplyToId as activity ID to the UpdateActivityAsync method of the TurnContext class. Update_result = await context.update_activity(new_activity) # A method that can participate in update activity events for the current turn. New_activity = MessageFactory.text("The new text for the activity") # MessageFactory.Text(): Specifies the type of text data in a message attachment. To update an existing message, pass a new Activity object with the existing activity ID to the update_activity method of the TurnContext class. A method that can participate in update activity events for the current turn.Īwait turnContext.updateActivity(newActivity) MessageFactory.Text(): Specifies the type of text data in a message attachment.Ĭonst newActivity = MessageFactory.text('The new text for the activity') For more information, see updateActivity. To update an existing message, pass a new Activity object with the existing activity ID to the updateActivity method of the TurnContext object. UpdateActivityAsync(): A method that can participate in update activity events for the current turn.Īwait turnContext.UpdateActivityAsync(newActivity, cancellationToken)

Var newActivity = MessageFactory.Text("The new text for the activity") MessageFactory.Text(): Specifies the type of text data in a message attachment. For more information, see TurnContextClass. To update an existing message, pass a new Activity object with the existing activity ID to the UpdateActivityAsync method of the TurnContext class.
