Hierarchy
- LineSessions
Methods
create
-
The method is used to create a new live chat session.
Parameters
-
channel: LineChannelItemRef
-
account: string
Returns Promise<LineSessionItemRef>
-
search
-
The method is used to search for live chat sessions.
To search for items in the collection, use the Search object:
const cu = await System.users.getCurrentUser(); const sessions = await System.lines.sessions.search() .where(f => f._userId.eq(cu)) .all();
Read more about using search in the Manage apps article.
Returns LineSessionSearch
Was this helpful?
Live Chat session object
Used to search sessions, create new sessions, assign sessions to operators, etc.