intercom-client
Version:
Official Node bindings to the Intercom API
82 lines (81 loc) • 2.22 kB
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
import * as Intercom from "../../../../index";
/**
* @example
* {
* ticket_id: "123",
* body: {
* message_type: "comment",
* type: "user",
* body: "Thanks again :)",
* intercom_user_id: "667d619d8a68186f43bafe82"
* }
* }
*
* @example
* {
* ticket_id: "123",
* body: {
* message_type: "note",
* type: "admin",
* body: "<html> <body> <h2>An Unordered HTML List</h2> <ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul> <h2>An Ordered HTML List</h2> <ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html>",
* admin_id: "3156780"
* }
* }
*
* @example
* {
* ticket_id: "123",
* body: {
* message_type: "quick_reply",
* type: "admin",
* admin_id: "3156780",
* reply_options: [{
* text: "Yes",
* uuid: "22d6d1f4-1a19-41d0-94c2-e54031f78aca"
* }, {
* text: "No",
* uuid: "fbc3dbe0-ec0c-4fb6-826d-e19127191906"
* }]
* }
* }
*
* @example
* {
* ticket_id: "123",
* body: {
* message_type: "comment",
* type: "user",
* body: "Thanks again :)",
* intercom_user_id: "667d61a68a68186f43bafe85"
* }
* }
*
* @example
* {
* ticket_id: "123",
* body: {
* message_type: "comment",
* type: "user",
* body: "Thanks again :)",
* intercom_user_id: "667d619d8a68186f43bafe82"
* }
* }
*
* @example
* {
* ticket_id: "123",
* body: {
* message_type: "comment",
* type: "user",
* body: "Thanks again :)",
* intercom_user_id: "667d619d8a68186f43bafe82"
* }
* }
*/
export interface ReplyToTicketRequest {
ticket_id: string;
body: Intercom.TicketsReplyRequestBody;
}