UNPKG

intercom-client

Version:

Official Node bindings to the Intercom API

27 lines (26 loc) 1.08 kB
/** * This file was auto-generated by Fern from our API Definition. */ export interface ContactReplyBaseRequest { message_type: "comment"; type: "user"; /** The text body of the comment. */ body: string; /** The time the reply was created. If not provided, the current time will be used. */ created_at?: number; /** A list of image URLs that will be added as attachments. You can include up to 10 URLs. */ attachment_urls?: string[]; /** The quick reply selection the contact wishes to respond with. These map to buttons displayed in the Messenger UI if sent by a bot, or the reply options sent by an Admin via the API. */ reply_options?: ContactReplyBaseRequest.ReplyOptions.Item[]; } export declare namespace ContactReplyBaseRequest { type ReplyOptions = ReplyOptions.Item[]; namespace ReplyOptions { interface Item { /** The text of the chosen reply option. */ text: string; /** The unique identifier for the quick reply option selected. */ uuid: string; } } }