FfiConversationInterface

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun addAdmin(inboxId: String)
Link copied to clipboard
abstract fun addedByInboxId(): String
Link copied to clipboard
abstract suspend fun addMembers(accountAddresses: List<String>)
Link copied to clipboard
abstract suspend fun addMembersByInboxId(inboxIds: List<String>)
Link copied to clipboard
abstract suspend fun addSuperAdmin(inboxId: String)
Link copied to clipboard
abstract fun adminList(): List<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createdAtNs(): Long
Link copied to clipboard
abstract fun dmPeerInboxId(): String
Link copied to clipboard
Link copied to clipboard
abstract fun groupDescription(): String
Link copied to clipboard
abstract fun groupImageUrlSquare(): String
Link copied to clipboard
Link copied to clipboard
abstract fun groupName(): String
Link copied to clipboard
Link copied to clipboard
abstract fun groupPinnedFrameUrl(): String
Link copied to clipboard
abstract fun id(): ByteArray
Link copied to clipboard
abstract fun isActive(): Boolean
Link copied to clipboard
abstract fun isAdmin(inboxId: String): Boolean
Link copied to clipboard
abstract fun isSuperAdmin(inboxId: String): Boolean
Link copied to clipboard
abstract suspend fun listMembers(): List<FfiConversationMember>
Link copied to clipboard
abstract suspend fun processStreamedConversationMessage(envelopeBytes: ByteArray): FfiMessage
Link copied to clipboard
abstract suspend fun publishMessages()

Publish all unpublished messages

Link copied to clipboard
abstract suspend fun removeAdmin(inboxId: String)
Link copied to clipboard
abstract suspend fun removeMembers(accountAddresses: List<String>)
Link copied to clipboard
abstract suspend fun removeMembersByInboxId(inboxIds: List<String>)
Link copied to clipboard
abstract suspend fun removeSuperAdmin(inboxId: String)
Link copied to clipboard
abstract suspend fun send(contentBytes: ByteArray): ByteArray
Link copied to clipboard
abstract fun sendOptimistic(contentBytes: ByteArray): ByteArray

send a message without immediately publishing to the delivery service.

Link copied to clipboard
abstract suspend fun stream(messageCallback: FfiMessageCallback): FfiStreamCloser
Link copied to clipboard
abstract fun superAdminList(): List<String>
Link copied to clipboard
abstract suspend fun sync()
Link copied to clipboard
abstract fun updateConsentState(state: FfiConsentState)
Link copied to clipboard
abstract suspend fun updateGroupDescription(groupDescription: String)
Link copied to clipboard
abstract suspend fun updateGroupImageUrlSquare(groupImageUrlSquare: String)
Link copied to clipboard
abstract suspend fun updateGroupName(groupName: String)
Link copied to clipboard
abstract suspend fun updateGroupPinnedFrameUrl(pinnedFrameUrl: String)
Link copied to clipboard
abstract suspend fun updatePermissionPolicy(permissionUpdateType: FfiPermissionUpdateType, permissionPolicyOption: FfiPermissionPolicy, metadataField: FfiMetadataField?)