TranscriptStore interface
Interface for storing and managing transcripts.
- Extends
Methods
delete |
Deletes a transcript. |
get |
Retrieves activities from a transcript. |
list |
Lists transcripts for a channel. |
Inherited Methods
log |
Logs an activity. |
Method Details
deleteTranscript(string, string)
Deletes a transcript.
function deleteTranscript(channelId: string, conversationId: string): Promise<void>
Parameters
- channelId
-
string
The ID of the channel.
- conversationId
-
string
The ID of the conversation.
Returns
Promise<void>
A promise that resolves when the transcript is deleted.
getTranscriptActivities(string, string, string, Date)
Retrieves activities from a transcript.
function getTranscriptActivities(channelId: string, conversationId: string, continuationToken?: string, startDate?: Date): Promise<PagedResult<Activity>>
Parameters
- channelId
-
string
The ID of the channel.
- conversationId
-
string
The ID of the conversation.
- continuationToken
-
string
Optional. The continuation token for pagination.
- startDate
-
Date
Optional. The start date to filter activities.
Returns
Promise<PagedResult<Activity>>
A promise that resolves to a paged result of activities.
listTranscripts(string, string)
Lists transcripts for a channel.
function listTranscripts(channelId: string, continuationToken?: string): Promise<PagedResult<TranscriptInfo>>
Parameters
- channelId
-
string
The ID of the channel.
- continuationToken
-
string
Optional. The continuation token for pagination.
Returns
Promise<PagedResult<TranscriptInfo>>
A promise that resolves to a paged result of transcript information.
Inherited Method Details
logActivity(Activity)
Logs an activity.
function logActivity(activity: Activity): void | Promise<void>
Parameters
- activity
- Activity
The activity to log.
Returns
void | Promise<void>
Inherited From TranscriptLogger.logActivity