19 lines
427 B
TypeScript
19 lines
427 B
TypeScript
export interface CreateChatCommand {
|
|
type: 'direct' | 'group' | 'game';
|
|
name?: string;
|
|
gameId?: string;
|
|
createdBy: string;
|
|
userIds: string[];
|
|
}
|
|
export interface SendMessageCommand {
|
|
chatId: string;
|
|
userId: string;
|
|
message: string;
|
|
}
|
|
export interface ArchiveChatCommand {
|
|
chatId: string;
|
|
}
|
|
export interface RestoreChatCommand {
|
|
chatId: string;
|
|
}
|
|
//# sourceMappingURL=ChatCommands.d.ts.map
|