/// <summary> /// Sends Sms message to multiple recipients. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// Consumer subscription Id /// </param> /// <param name='request'> /// Bulk recipient Sms request /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <SendBulkSmsResponse> > SendBulkSmsAsync(this ISmsClient operations, System.Guid subscriptionId, SendBulkSmsRequest request, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.SendBulkSmsWithHttpMessagesAsync(subscriptionId, request, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }