Share via


IBotState.SetUserDataWithHttpMessagesAsync Method

Definition

Caution

This operation is deprecated. Please do not use it any longer.

[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Connector.BotData>> SetUserDataWithHttpMessagesAsync (string channelId, string userId, Microsoft.Bot.Connector.BotData botData, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
abstract member SetUserDataWithHttpMessagesAsync : string * string * Microsoft.Bot.Connector.BotData * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Connector.BotData>>
Public Function SetUserDataWithHttpMessagesAsync (channelId As String, userId As String, botData As BotData, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of BotData))

Parameters

channelId
String
userId
String
botData
BotData
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Task<Microsoft.Rest.HttpOperationResponse<BotData>>
Attributes

Applies to