You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Bot Framework development team added onMessageReaction, onReactionsAdded , and onReactionsRemoved handlers to the SDK's Activity Handler in v4.5. The handlers check if the incoming activity's type is ActivityTypes.MessageReaction and then checks the activity's reactionsAdded and reactionsRemoved attributes to determine which handler to invoke.
Currently, the Customize Web Chat with Reaction Buttons Sample posts a ActivityTypes.Message activity to the bot and adds the reaction to the activity's value property.
The sample should be updated to use the new activity type - ActivityTypes.MessageReaction - and add the reaction changes to the activity's reactionsAdded or reactionsRemoved attributes. Mock Bot will probably have to be updated as well to handle these changes.
[Bug]
The text was updated successfully, but these errors were encountered:
Description
The Bot Framework development team added
onMessageReaction
,onReactionsAdded
, andonReactionsRemoved
handlers to the SDK's Activity Handler in v4.5. The handlers check if the incoming activity's type isActivityTypes.MessageReaction
and then checks the activity'sreactionsAdded
andreactionsRemoved
attributes to determine which handler to invoke.Currently, the Customize Web Chat with Reaction Buttons Sample posts a
ActivityTypes.Message
activity to the bot and adds the reaction to the activity's value property.The sample should be updated to use the new activity type -
ActivityTypes.MessageReaction
- and add the reaction changes to the activity'sreactionsAdded
orreactionsRemoved
attributes. Mock Bot will probably have to be updated as well to handle these changes.[Bug]
The text was updated successfully, but these errors were encountered: