ReactionClient.AddAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a reaction on an activity in a conversation.
public System.Threading.Tasks.Task AddAsync(string conversationId, string activityId, string reactionType, System.Collections.Generic.Dictionary<string,string>? additionalHeaders = default, System.Threading.CancellationToken cancellationToken = default);
member this.AddAsync : string * string * string * System.Collections.Generic.Dictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AddAsync (conversationId As String, activityId As String, reactionType As String, Optional additionalHeaders As Dictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- conversationId
- String
The conversation id.
- activityId
- String
The id of the activity to react to.
- reactionType
- String
The reaction type. See ReactionTypes for common values.
- additionalHeaders
- Dictionary<String,String>
Optional custom headers to include in the request.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for the task to complete.