UNPKG

likeminds-chat-beta

Version:

LikeMinds Javascript SDK for chat APIs

36 lines (35 loc) 2.38 kB
import { Chatroom, CHTYPE, CMETATYPE, CRSeen, Media, ParticipantsType, Profile, MarkRead, TaggingList, FollowChatroom, MuteChatroom, ShareChatroom, SetChatroom, Conversation, PostConversation, EditConversation, DeleteConversation, PutReaction, DeleteReaction, PutMultimedia, DecodeUrl, PostPollConversation, GetReportTags, PushReport, LeaveSecretChatroom } from './types'; import { Base } from 'src/base'; import NetworkLibrary from 'src/core/services/networklibrary'; export declare class ChatroomData extends Base { networkLibrary: NetworkLibrary; getChatroom(chatroom: Chatroom): Promise<any>; followChatroom(followChatroom: FollowChatroom): Promise<any>; muteChatroom(muteChatroom: MuteChatroom): Promise<any>; markReadChatroom(markRead: MarkRead): Promise<any>; shareChatroomUrl(shareChatroom: ShareChatroom): Promise<any>; setChatroomTopic(setChatroom: SetChatroom): Promise<any>; getTaggingList(taggingList: TaggingList): Promise<any>; getConversation(conversation: Conversation): Promise<any>; postConversation(postConversation: PostConversation): Promise<any>; editConversation(conversationId: EditConversation): Promise<any>; deleteConversation(deleteConversation: DeleteConversation): Promise<any>; putReaction(putReaction: PutReaction): Promise<any>; deleteReaction(deleteReaction: DeleteReaction): Promise<any>; getAWS(): any; uploadMedia(media: Media): any; putMultimedia(putMultimedia: PutMultimedia): Promise<any>; decodeUrl(decodeUrl: DecodeUrl): Promise<any>; postPollConversation(postPollConversation: PostPollConversation): Promise<any>; getPollUsers(postPollConversation: PostPollConversation): Promise<any>; addPollOption(postPollConversation: PostPollConversation): Promise<any>; submitPoll(postPollConversation: PostPollConversation): Promise<any>; getReportTags(getReportTags: GetReportTags): Promise<any>; pushReport(pushReport: PushReport): Promise<any>; leaveSecretChatroom(leaveSecretChatroom: LeaveSecretChatroom): Promise<any>; profileData(profile: Profile): Promise<any>; viewParticipants(participantsType: ParticipantsType): Promise<any>; conversationsFetch(cmetaType: CMETATYPE): Promise<any>; fetchChatroomHome(chatroom: CHTYPE): Promise<any>; crSeenFn(crSeen: CRSeen): Promise<any>; }