intercom-client
Version:
Official Node bindings to the Intercom API
90 lines (89 loc) • 2.54 kB
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
import * as Intercom from "../../../../index";
/**
* @example
* {
* conversation_id: "123 or \"last\"",
* body: {
* message_type: "comment",
* type: "user",
* body: "Thanks again :)",
* intercom_user_id: "667d60f18a68186f43bafdf4"
* }
* }
*
* @example
* {
* conversation_id: "123 or \"last\"",
* 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
* {
* conversation_id: "123 or \"last\"",
* body: {
* message_type: "comment",
* type: "user",
* body: "Thanks again :)",
* intercom_user_id: "667d60f78a68186f43bafdf7"
* }
* }
*
* @example
* {
* conversation_id: "123 or \"last\"",
* body: {
* message_type: "comment",
* type: "user",
* body: "Thanks again :)",
* intercom_user_id: "667d60f98a68186f43bafdf8"
* }
* }
*
* @example
* {
* conversation_id: "123 or \"last\"",
* body: {
* message_type: "comment",
* type: "user",
* body: "Thanks again :)",
* intercom_user_id: "667d60f18a68186f43bafdf4"
* }
* }
*
* @example
* {
* conversation_id: "123 or \"last\"",
* body: {
* message_type: "comment",
* type: "user",
* body: "Thanks again :)",
* intercom_user_id: "667d60f18a68186f43bafdf4"
* }
* }
*
* @example
* {
* conversation_id: "123 or \"last\"",
* body: {
* message_type: "comment",
* type: "user",
* body: "Thanks again :)",
* intercom_user_id: "667d60f18a68186f43bafdf4"
* }
* }
*/
export interface ReplyToConversationRequest {
/**
* The Intercom provisioned identifier for the conversation or the string "last" to reply to the last part of the conversation
*/
conversation_id: string;
body: Intercom.ReplyConversationRequest;
}