Skip to main content
Docs home page
Search...
⌘K
Support
Dashboard
Dashboard
Search...
Navigation
Canopy
canopy.messageThreadLength
Documentation
Documentation
Community
Get Started
Introduction
Overview
Documentation
Overview
Speech and visual concepts
Actions and LLM Concepts
Action Taking Agents
API Reference
Overview
Canopy Config
Canopy
canopy.connect
canopy.visualise
canopy.listen
canopy.close
canopy.appendDialogue
canopy.readConversation
canopy.deleteDialogue
canopy.updateDialogue
canopy.messageThreadLength
index.js
Copy
await
canopy
.
messageThreadLength
();
Canopy
canopy.messageThreadLength
index.js
Copy
await
canopy
.
messageThreadLength
();
Returns the number of dialogues in the
messageThread
.
Response
You will get a
JSON
response with the following fields:
success
boolean
timestamp
number
messageThreadLength
number
The number of
dialogue
objects in the
messageThread
.
canopy.updateDialogue
⌘I