@rohitninawe/chat-uikit-react-native
Version:
Ready-to-use Chat UI Components for React Native
19 lines (18 loc) • 913 B
TypeScript
import { CometChat } from '@cometchat/chat-sdk-react-native';
import { AIAssistBotStyle, AIBotMessageBubbleStyle, AISenderMessageBubbleStyle } from './AIAssistBotStyle';
import { AvatarStyle, CometChatMessageInputStyleInterface } from '../../shared';
export declare class AIAssistBotConfiguration {
apiConfiguration?: (bot: CometChat.User, user?: CometChat.User, group?: CometChat.Group) => Promise<Object>;
title: (bot: CometChat.User) => string;
botFirstMessageText: (bot: CometChat.User) => string;
closeIconURL: string;
sendIconURL: string;
botMessageBubbleStyle: AIBotMessageBubbleStyle;
senderMessageBubbleStyle: AISenderMessageBubbleStyle;
avatarStyle?: AvatarStyle;
messageInputStyle?: CometChatMessageInputStyleInterface;
style: AIAssistBotStyle;
loadingIconURL?: string;
errorIconURL?: string;
constructor(props: Partial<AIAssistBotConfiguration>);
}