InterfaceConversationRepository

interface ConversationRepository {
    $select(id: string): {
        read(meta?: HttpMetaParams<"none">): Promise<Conversation>;
        remove(meta?: HttpMetaParams<"none">): Promise<void>;
        unread(meta?: HttpMetaParams<"none">): Promise<Conversation>;
    };
    list(params?: DefaultPaginationParams, meta?: HttpMetaParams<"none">): Paginator<Conversation[], DefaultPaginationParams>;
}

Methods

Methods