@kustomer/chat-react-native
Version:
Kustomer Chat SDK wrapper for React Native
37 lines • 999 B
TypeScript
import type { KustomerUser } from './KustomerUser';
export interface KusChatMessage {
id: string;
conversationId: string;
createdAt: number;
messageType?: string;
direction?: string;
directionType?: KustomerDirectionType;
body?: string;
attachments?: KustomerChatAttachment[];
templateType?: KustomerMessageTemplateType;
sentByUser?: KustomerUser;
sentById?: string;
}
export declare enum KustomerMessageTemplateType {
quickReplies = "quick_replies",
mll = "mll",
deflection = "deflection",
text = "text",
list = "list",
feedback = "answer_button_feedback",
none = ""
}
export declare enum KustomerDirectionType {
/** iOS only */
initialIn = "initial-in",
initialOut = "initial-out",
followupOut = "followup-out"
}
export interface KustomerChatAttachment {
id: string;
conversationId?: string;
contentType?: string;
name?: string;
url?: string;
}
//# sourceMappingURL=KusChatMessage.d.ts.map