pinEndUserChatSession method

Future<Object?> pinEndUserChatSession({
  1. required Object sessionId,
  2. Map<String, Object?>? query,
  3. Object? body,
  4. Map<String, String>? headers,
})

PUT /{version}/ai/chat/sessions/{SessionId}/pin

Implementation

Future<Object?> pinEndUserChatSession(
    {required Object sessionId,
    Map<String, Object?>? query,
    Object? body,
    Map<String, String>? headers}) {
  return transport.send(
    route: '/{version}/ai/chat/sessions/{SessionId}/pin',
    method: 'PUT',
    query: query,
    body: body,
    headers: headers,
    pathParams: <String, Object?>{'SessionId': sessionId},
  );
}