v1ConvaiConversationsConversationIdGet method

Future<Response<GetConversationResponseModel>> v1ConvaiConversationsConversationIdGet({
  1. required String? conversationId,
  2. String? xiApiKey,
})

Get Conversation Details @param conversation_id The id of the conversation you're taking the action on. @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Implementation

Future<chopper.Response<GetConversationResponseModel>>
v1ConvaiConversationsConversationIdGet({
  required String? conversationId,
  String? xiApiKey,
}) {
  generatedMapping.putIfAbsent(
    GetConversationResponseModel,
    () => GetConversationResponseModel.fromJsonFactory,
  );

  return _v1ConvaiConversationsConversationIdGet(
    conversationId: conversationId,
    xiApiKey: xiApiKey?.toString(),
  );
}