MCPcopy Create free account
hub / github.com/4as/Chat-DeMod / getConversationId

Method getConversationId

Chat DeMod.user.js:396–402  ·  view source on GitHub ↗
(chunk_data)

Source from the content-addressed store, hash-verified

394 }
395
396 static getConversationId(chunk_data) {
397 if (chunk_data.hasOwnProperty('conversation_id'))
398 return chunk_data.conversation_id;
399 if (chunk_data.hasOwnProperty('v') && chunk_data.v.hasOwnProperty('conversation_id'))
400 return chunk_data.v.conversation_id;
401 return null;
402 }
403 }
404
405 class ChatResponse {

Callers 1

processMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected