intercom-client
Version:
Official Node bindings to the Intercom API
32 lines (31 loc) • 1.38 kB
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
import * as Intercom from "../../../index";
/**
* Payload of the request to reply on behalf of an admin
*/
export interface AdminReplyConversationRequest {
message_type: AdminReplyConversationRequest.MessageType;
type: "admin";
/** The text body of the reply. Notes accept some HTML formatting. Must be present for comment and note message types. */
body?: string;
/** The id of the admin who is authoring the comment. */
admin_id: string;
/** The time the reply was created. If not provided, the current time will be used. */
created_at?: number;
/** The quick reply options to display to the end user. Must be present for quick_reply message types. */
reply_options?: Intercom.unstable.QuickReplyOption[];
/** A list of image URLs that will be added as attachments. You can include up to 10 URLs. */
attachment_urls?: string[];
/** A list of files that will be added as attachments. You can include up to 10 files */
attachment_files?: Intercom.unstable.ConversationAttachmentFiles[];
}
export declare namespace AdminReplyConversationRequest {
type MessageType = "comment" | "note" | "quick_reply";
const MessageType: {
readonly Comment: "comment";
readonly Note: "note";
readonly QuickReply: "quick_reply";
};
}