react-native-chating-ui-kit
Version:
CometChat React Native UI Kit is a collection of custom UI Components designed to build text , chat and calling features in your application. The UI Kit is developed to keep developers in mind and aims to reduce development efforts significantly
15 lines (14 loc) • 749 B
TypeScript
import { DataSource, DataSourceDecorator } from '../../shared/framework';
import { CometChat } from '@cometchat-pro/react-native-chat';
import { SmartRepliesConfigurationInterface } from './SmartRepliesExtension';
export declare class SmartRepliesDecorator extends DataSourceDecorator {
smartRepliesConfiguration?: SmartRepliesConfigurationInterface;
messageListenerId: string;
loggedInUser: CometChat.User;
constructor(dataSource: DataSource, smartRepliesConfiguration?: SmartRepliesConfigurationInterface);
isDeletedMessage(message: CometChat.BaseMessage): boolean;
getId(): string;
getReplies(message: any): void;
handleSendMessage: (message: any, smartReply: any) => void;
onCloseRepliesPannel: () => void;
}