Пример #1
0
 /// <summary>
 /// ExportBotStateData
 /// </summary>
 /// <remarks>
 /// get all the state data for a bot in this channel. This returns a list of
 /// BotStateData and (possibly) a continuation token
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='channelId'>
 /// the channelId
 /// </param>
 /// <param name='continuationToken'>
 /// the skip token returned previously, or null
 /// </param>
 public static BotStateDataResult ExportBotStateData(this IBotState operations, string channelId, string continuationToken = default(string))
 {
     return(operations.ExportBotStateDataAsync(channelId, continuationToken).GetAwaiter().GetResult());
 }
Пример #2
0
 public static BotStateDataResult ExportBotStateData(this IBotState operations, string channelId)
 {
     return(operations.ExportBotStateDataAsync(channelId).GetAwaiter().GetResult());
 }