apiV3CustomerChatTutorCreate method

Future<void> apiV3CustomerChatTutorCreate(
  1. String tutorId
)

Get's tutor chat id if exists if not creates a chat > enquiry > tutor_enquiry > message and returns the chat id

Parameters:

Implementation

Future<void> apiV3CustomerChatTutorCreate(String tutorId,) async {
  final response = await apiV3CustomerChatTutorCreateWithHttpInfo(tutorId,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}