GenericResource
The ConversationResource class provides methods to access the conversations
endpoint of the Cloud Blue Connect API.
Kind: global class
Extends: GenericResource
Category: Resources
GenericResource
Creates a new instance of the ConversationResource class.
Returns: ConversationResource
– An instance of the ConversationResource class.
Param | Type | Description |
---|---|---|
client | ConnectClient | An instance of the ConnectClient class. |
Array
Returns a list of conversations attached to the business object specified by its id.
Kind: instance method of ConversationResource
Returns: Array
– A list of conversations attached to a business object.
Param | Type | Description |
---|---|---|
id | string | The unique id of the business object attached to a conversation. |
object
Add a message to a Conversation object.
Kind: instance method of ConversationResource
Returns: object
– The newly created Message object.
Param | Type | Description |
---|---|---|
id | string | The unique identifier of the Conversation object. |
msg | string | The text of the message to post. |