intercom-client
Version:
Official Node bindings to the Intercom API
20 lines (19 loc) • 770 B
TypeScript
/**
* Payload of the request to assign a conversation
*/
export interface AssignConversationRequest {
type: AssignConversationRequest.Type;
/** The id of the admin who is performing the action. */
admin_id: string;
/** The `id` of the `admin` or `team` which will be assigned the conversation. A conversation can be assigned both an admin and a team.\nSet `0` if you want this assign to no admin or team (ie. Unassigned). */
assignee_id: string;
/** Optionally you can send a response in the conversation when it is assigned. */
body?: string;
}
export declare namespace AssignConversationRequest {
const Type: {
readonly Admin: "admin";
readonly Team: "team";
};
type Type = (typeof Type)[keyof typeof Type];
}