33 lines
859 B
TypeScript
33 lines
859 B
TypeScript
import { AbstractConversationUiEvents } from "./AbstractConversationDefinitions";
|
|
export declare type PrivateConversationInfo = {
|
|
nickname: string;
|
|
uniqueId: string;
|
|
clientId: number;
|
|
chatId: string;
|
|
lastMessage: number;
|
|
unreadMessages: boolean;
|
|
};
|
|
export interface PrivateConversationUIEvents extends AbstractConversationUiEvents {
|
|
action_close_chat: {
|
|
chatId: string;
|
|
};
|
|
query_private_conversations: {};
|
|
notify_private_conversations: {
|
|
conversations: PrivateConversationInfo[];
|
|
selected: string;
|
|
};
|
|
notify_partner_changed: {
|
|
chatId: string;
|
|
clientId: number;
|
|
name: string;
|
|
};
|
|
notify_partner_name_changed: {
|
|
chatId: string;
|
|
name: string;
|
|
};
|
|
notify_unread_state_changed: {
|
|
chatId: string;
|
|
unread: boolean;
|
|
};
|
|
}
|