@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
11 lines (10 loc) • 412 B
TypeScript
import { Conversation } from "../../../interfaces/models/Conversation";
export interface UpdateConversationParams {
conversationId: string;
name?: string;
description?: string;
avatarFileId?: string | null;
postingPermission?: "members" | "admins";
}
declare function useUpdateConversation(): (params: UpdateConversationParams) => Promise<Conversation>;
export default useUpdateConversation;