Preparing search index...
The search index is not available
GHL SDK - v1.1.6
GHL SDK
ConversationsClient
Class ConversationsClient
Hierarchy
GhlClient
ConversationsClient
Index
Constructors
constructor
Methods
find
By
Id
update
remove
create
search
find
Email
By
Id
cancel
Scheduled
Email
find
Message
By
Id
find
Messages
By
Conversation
Id
send
Message
add
Inbound
Message
add
Outbound
Message
cancel
Scheduled
Message
upload
File
Attachments
update
Message
Status
find
Message
Recording
find
Message
Transcription
download
Message
Transcription
Constructors
constructor
new
ConversationsClient
(
accessToken
:
string
)
:
ConversationsClient
Parameters
accessToken
:
string
Returns
ConversationsClient
Methods
find
By
Id
findById
(
id
:
string
)
:
Promise
<
ConversationResponse
>
Parameters
id
:
string
Returns
Promise
<
ConversationResponse
>
update
update
(
id
:
string
,
dto
:
UpdateConversationDto
,
)
:
Promise
<
ConversationActionResponse
>
Parameters
id
:
string
dto
:
UpdateConversationDto
Returns
Promise
<
ConversationActionResponse
>
remove
remove
(
id
:
string
)
:
Promise
<
SuccessDeleteResponse
>
Parameters
id
:
string
Returns
Promise
<
SuccessDeleteResponse
>
create
create
(
dto
:
CreateConversationDto
)
:
Promise
<
ConversationActionResponse
>
Parameters
dto
:
CreateConversationDto
Returns
Promise
<
ConversationActionResponse
>
search
search
(
params
:
ConversationSearchParams
)
:
Promise
<
ConversationSearchResponse
>
Parameters
params
:
ConversationSearchParams
Returns
Promise
<
ConversationSearchResponse
>
find
Email
By
Id
findEmailById
(
emailId
:
string
)
:
Promise
<
ConversationEmailResponse
>
Parameters
emailId
:
string
Returns
Promise
<
ConversationEmailResponse
>
cancel
Scheduled
Email
cancelScheduledEmail
(
emailId
:
string
,
)
:
Promise
<
ConversationCancelScheduledResponse
>
Parameters
emailId
:
string
Returns
Promise
<
ConversationCancelScheduledResponse
>
find
Message
By
Id
findMessageById
(
messageId
:
string
)
:
Promise
<
ConversationMessageResponse
>
Parameters
messageId
:
string
Returns
Promise
<
ConversationMessageResponse
>
find
Messages
By
Conversation
Id
findMessagesByConversationId
(
conversationId
:
string
,
params
:
ConversationSearchParams
,
)
:
Promise
<
ListConversationMessagesResponse
>
Parameters
conversationId
:
string
params
:
ConversationSearchParams
Returns
Promise
<
ListConversationMessagesResponse
>
send
Message
sendMessage
(
dto
:
ConversationMessageDto
,
)
:
Promise
<
SendConversationMessageResponse
>
Parameters
dto
:
ConversationMessageDto
Returns
Promise
<
SendConversationMessageResponse
>
add
Inbound
Message
addInboundMessage
(
dto
:
ConversationInboundMessageDto
,
)
:
Promise
<
ConversationProcessMessageResponse
>
Parameters
dto
:
ConversationInboundMessageDto
Returns
Promise
<
ConversationProcessMessageResponse
>
add
Outbound
Message
addOutboundMessage
(
dto
:
ConversationOutboundMessageDto
,
)
:
Promise
<
ConversationProcessMessageResponse
>
Parameters
dto
:
ConversationOutboundMessageDto
Returns
Promise
<
ConversationProcessMessageResponse
>
cancel
Scheduled
Message
cancelScheduledMessage
(
messageId
:
string
,
)
:
Promise
<
ConversationCancelScheduledResponse
>
Parameters
messageId
:
string
Returns
Promise
<
ConversationCancelScheduledResponse
>
upload
File
Attachments
uploadFileAttachments
(
dto
:
ConversationUploadFilesDto
,
)
:
Promise
<
ConversationUploadFilesResponse
>
Parameters
dto
:
ConversationUploadFilesDto
Returns
Promise
<
ConversationUploadFilesResponse
>
update
Message
Status
updateMessageStatus
(
messageId
:
string
,
dto
:
ConversationUpdateMessageStatusDto
,
)
:
Promise
<
SendConversationMessageResponse
>
Parameters
messageId
:
string
dto
:
ConversationUpdateMessageStatusDto
Returns
Promise
<
SendConversationMessageResponse
>
find
Message
Recording
findMessageRecording
(
locationId
:
string
,
messageId
:
string
)
:
Promise
<
any
>
Parameters
locationId
:
string
messageId
:
string
Returns
Promise
<
any
>
find
Message
Transcription
findMessageTranscription
(
locationId
:
string
,
messageId
:
string
,
)
:
Promise
<
ConverstationMessageTranscriptionResponse
>
Parameters
locationId
:
string
messageId
:
string
Returns
Promise
<
ConverstationMessageTranscriptionResponse
>
download
Message
Transcription
downloadMessageTranscription
(
locationId
:
string
,
messageId
:
string
,
)
:
Promise
<
any
>
Parameters
locationId
:
string
messageId
:
string
Returns
Promise
<
any
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
find
By
Id
update
remove
create
search
find
Email
By
Id
cancel
Scheduled
Email
find
Message
By
Id
find
Messages
By
Conversation
Id
send
Message
add
Inbound
Message
add
Outbound
Message
cancel
Scheduled
Message
upload
File
Attachments
update
Message
Status
find
Message
Recording
find
Message
Transcription
download
Message
Transcription
GHL SDK - v1.1.6
Loading...