Constructors

Link copied to clipboard
constructor(chatMapper: ChatIReactiveMapper<ChatEntity, ChatModel>, participantMapper: ChatIReactiveMapper<ChatParticipantEntity, ChatParticipantModel>, chatConf: ZappChatConfiguration, rxFirebaseRepository: ChatRxFirebaseRepository, userRepository: ChatUserRepository)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun addUserToChat(chat: ChatModel, user: ChatUserModel): Completable
Link copied to clipboard
open override fun checkImAdmin(chat: ChatModel): Completable
Link copied to clipboard
open override fun createChat(chatId: String, type: ChatType, myUserId: String, members: List<String>, name: String, image: String): Completable
Link copied to clipboard
open override fun deleteConversation(chat: ChatModel, chatUserModel: ChatUserModel): Completable
Link copied to clipboard
open override fun getChat(id: String, event: ReactiveEvent.TYPE): Maybe<ChatModel>
Link copied to clipboard
open override fun getChatsByUser(myUser: ChatUserModel, starAt: Long, filter: String): Single<List<ChatModel>>
Link copied to clipboard
open override fun hasChats(chatUserModel: ChatUserModel): Maybe<Boolean>
Link copied to clipboard
open override fun makeUserAdmin(chat: ChatModel, user: ChatUserModel): Completable
Link copied to clipboard
open override fun observeChat(id: String, event: ReactiveEvent.TYPE): Flowable<ChatModel>
Link copied to clipboard
open override fun observeChatsByUser(chatUserModel: ChatUserModel): Flowable<String>
Link copied to clipboard
open override fun observeDeleteChat(): Flowable<String>
Link copied to clipboard
open override fun removeUserFromChat(chat: ChatModel, chatUserModel: ChatUserModel): Completable
Link copied to clipboard
open override fun updateChat(chat: ChatModel): Maybe<ChatModel>
Link copied to clipboard
open override fun updatePushActive(chat: ChatModel, pushActive: Boolean): Completable
Link copied to clipboard
open override fun updateUnreadChat(userModel: ChatUserModel, chat: ChatModel, value: Int): Completable
Link copied to clipboard
open override fun uploadFile(idChat: String, image: File): Single<String>