@likeminds.community/chat-js-beta
Version:
LikeMinds Javascript SDK for chat APIs
65 lines (64 loc) • 1.79 kB
TypeScript
import { Cohort } from './Cohort';
import { Conversation } from './Conversation';
import { Member } from './Member';
export interface Chatroom {
member: Member;
id: number;
title: string;
createdAt?: number;
answerText?: string;
state: number;
unseenCount?: number;
shareUrl?: string;
communityId?: string;
communityName?: string;
type?: number;
about?: string;
header?: string;
showFollowTelescope: boolean;
showFollowAutoTag: boolean;
cardCreationTime?: string;
participantsCount?: string;
totalResponseCount?: string;
muteStatus: boolean;
followStatus?: boolean;
hasBeenNamed: boolean;
hasReactions?: boolean;
date?: string;
isTagged?: boolean;
isPending?: boolean;
isPrivateMember?: boolean;
isPinned?: boolean;
isDeleted?: boolean;
userId?: string;
deletedBy?: string;
deletedByMember?: Member;
deletedByUserId?: string;
updatedAt?: number;
lastSeenConversationId?: string;
lastConversationId?: string;
dateEpoch?: number;
isSecret?: boolean;
secretChatroomParticipants?: number[];
secretChatroomLeft?: boolean;
topicId?: string;
topic?: Conversation;
autoFollowDone?: boolean;
isEdited?: boolean;
access?: number;
memberCanMessage?: boolean;
chatroomWithUserId?: number;
chatroomWithUserName?: string;
chatroomWithUser?: Member;
cohorts?: Cohort[];
externalSeen?: boolean;
unreadConversationCount?: number;
chatroomImageUrl?: string;
accessWithoutSubscription?: boolean;
totalAllResponseCount?: string;
isConversationStored?: boolean;
chatRequestState?: number;
chatRequestedBy?: Member;
chatRequestCreatedAt?: number;
chatRequestedById?: number;
}