Skip to content

node-zendesk / Exports / clients/core/sideconversations

Module: clients/core/sideconversations

Table of contents

Classes

Type Aliases

Type Aliases

CreateSideConversation

Ƭ CreateSideConversation: Object

Type declaration

NameTypeDescription
external_ids?{ [key: string]: string; }- A key-value object where all values are strings. Used for conversation metadata
messageMessage- The side conversation object.

Defined in

clients/core/sideconversations.d.ts:159


Message

Ƭ Message: Object

Type declaration

NameTypeDescription
attachment_ids?string[]- List of tokens received from uploading files for comment attachments. The files are attached by creating or updating tickets with the tokens. See Attaching files in Tickets
body?string- The plain text version of the body of the message
external_ids?{ [key: string]: string; }- A key-value object where all values are strings. Used for message metadata
from?Participant- The participant who sent the message. See Participants
html_body?string- The HTML version of the body of the message
preview_text?string- A plain text string describing the message
subject?string- The subject of the message
toParticipant[]- The list of participants the message was sent to. See Participants

Defined in

clients/core/sideconversations.d.ts:35


Participant

Ƭ Participant: Object

Type declaration

NameTypeDescription
email?string- The email address of the participant
msteams_channel_id?string- If the participant is a Microsoft teams channel, the Teams channel id
name?string- The name of the participant
slack_channel_id?string- If the participant is a Slack channel, the Slack channel id
slack_workspace_id?string- If the participant is a Slack user or channel, the Slack workspace id
support_agent_id?string- If the participant is a Support ticket, the support agent id
support_group_id?string- If the participant is a Support ticket, the support group id
user_id?number- If the participant is an agent, the agent's user id

Defined in

clients/core/sideconversations.d.ts:1


SideConversation

Ƭ SideConversation: Object

Type declaration

NameTypeDescription
created_atstring- The time the side conversation was created
external_ids?{ [key: string]: string; }- A key-value store of metadata. All values must be strings
idstring- Automatically assigned when the side conversation is created
message_added_atstring- The time of the last message on the side conversation
participantsParticipant[]- An array of participants in the side conversation. See Participants
preview_textstring- A plain text text describing the side conversation
state?string- The state of the side conversation
state_updated_atstring- The time of the update of the state of the side conversation
subject?string- The subject of the side conversation
ticket_idnumber- The parent ticket id of the side conversation
updated_atstring- The time of the last update of the side conversation
urlstring- The API url of the side conversation

Defined in

clients/core/sideconversations.d.ts:81


SideConversationAttachment

Ƭ SideConversationAttachment: Object

Type declaration

NameTypeDescription
content_typestring- The content type of the attachment. This is read-only.
heightnumber- The height of the attachment image. This is read-only.
idstring- The id of the side conversation attachment. This is read-only.
namestring- The name of the attachment.
sizenumber- The size of the attachment. This is read-only.
widthnumber- The width of the attachment image. This is read-only.

Defined in

clients/core/sideconversations.d.ts:133


SideConversationResponse

Ƭ SideConversationResponse: Object

Type declaration

NameTypeDescription
side_conversationSideConversation- The side conversation object.

Defined in

clients/core/sideconversations.d.ts:171


UpdateSideConversation

Ƭ UpdateSideConversation: Object

Type declaration

NameTypeDescription
state?"open" | "closed"- A plain text string describing the side conversation
subject?string- The subject of the side conversation

Defined in

clients/core/sideconversations.d.ts:71

Released under the MIT License.