Chats
Functions
Link copied to clipboard
fun connect(isDebugEnabled: Boolean = false, onCompletion: (SippoResourceError?) -> Unit)
Content copied to clipboard
Connects a chat session.
Link copied to clipboard
fun createChat(creationType: CreationType, onCompletion: (SippoResourceError?) -> Unit)
Content copied to clipboard
Creates a new chat.
Link copied to clipboard
Disconnects a chat session and disables the chat push notifications. This should be called on logout.
Link copied to clipboard
Find a cached Chat that was identified by the stanzaId.
Link copied to clipboard
fun getIndividualChats(onCompletion: (Either<List<Chat>, SippoResourceError>) -> Unit)
Content copied to clipboard
Fetches all individual chats related to this user.
Link copied to clipboard
Removes the specified listener.