/// <summary> /// This endpoint allows a user to submit a move and receive a bot's /// responding move /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ExecuteMoveResponse> ExecuteMoveAsync(this IClientRestSDKLibraryClient operations, MessagePayload body = default(MessagePayload), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ExecuteMoveWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }