public async Task<IConversation> GetConversationAsync(string conversationId, int? page = null,
int? offset = null)
{
if (string.IsNullOrWhiteSpace(conversationId))
throw new ArgumentNullException(nameof(conversationId));
if (ApiClient.OAuth2Token == null)
throw new ArgumentNullException(nameof(ApiClient.OAuth2Token), OAuth2RequiredExceptionMessage);
var url = $"conversations/{conversationId}/{page ?? 1}/{offset ?? 0}";
using (var request = RequestBuilder.CreateRequest(HttpMethod.Get, url))
{
var conversation = await SendRequestAsync<Conversation>(request).ConfigureAwait(false);
return conversation;
}
}