Group

class Group(val client: Client, libXMTPGroup: FfiConversation)

Constructors

Link copied to clipboard
constructor(client: Client, libXMTPGroup: FfiConversation)

Functions

Link copied to clipboard
suspend fun addAdmin(inboxId: String)
Link copied to clipboard
Link copied to clipboard
suspend fun addMembers(addresses: List<String>)
Link copied to clipboard
suspend fun addMembersByInboxId(inboxIds: List<String>)
Link copied to clipboard
suspend fun addSuperAdmin(inboxId: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> encodeContent(content: T, options: SendOptions?): EncodedContent
Link copied to clipboard
Link copied to clipboard
fun isAdmin(inboxId: String): Boolean
Link copied to clipboard
Link copied to clipboard
fun isSuperAdmin(inboxId: String): Boolean
Link copied to clipboard
suspend fun listAdmins(): List<String>
Link copied to clipboard
suspend fun listSuperAdmins(): List<String>
Link copied to clipboard
suspend fun members(): List<Member>
Link copied to clipboard
fun messages(limit: Int? = null, beforeNs: Long? = null, afterNs: Long? = null, direction: Message.SortDirection = SortDirection.DESCENDING, deliveryStatus: Message.MessageDeliveryStatus = MessageDeliveryStatus.ALL): List<DecodedMessage>
Link copied to clipboard
suspend fun peerInboxIds(): List<String>
Link copied to clipboard
fun <T> prepareMessage(content: T, options: SendOptions? = null): String
Link copied to clipboard
suspend fun processMessage(messageBytes: ByteArray): Message
Link copied to clipboard
suspend fun publishMessages()
Link copied to clipboard
suspend fun removeAdmin(inboxId: String)
Link copied to clipboard
suspend fun removeMembers(addresses: List<String>)
Link copied to clipboard
suspend fun removeMembersByInboxId(inboxIds: List<String>)
Link copied to clipboard
suspend fun removeSuperAdmin(inboxId: String)
Link copied to clipboard
suspend fun send(text: String): String
suspend fun send(encodedContent: EncodedContent): String
suspend fun <T> send(content: T, options: SendOptions? = null): String
Link copied to clipboard
Link copied to clipboard
suspend fun sync()
Link copied to clipboard
suspend fun updateAddAdminPermission(newPermissionOption: PermissionOption)
Link copied to clipboard
suspend fun updateAddMemberPermission(newPermissionOption: PermissionOption)
Link copied to clipboard
Link copied to clipboard
suspend fun updateGroupDescription(description: String)
Link copied to clipboard
suspend fun updateGroupDescriptionPermission(newPermissionOption: PermissionOption)
Link copied to clipboard
suspend fun updateGroupImageUrlSquare(imageUrl: String)
Link copied to clipboard
suspend fun updateGroupImageUrlSquarePermission(newPermissionOption: PermissionOption)
Link copied to clipboard
suspend fun updateGroupName(name: String)
Link copied to clipboard
suspend fun updateGroupNamePermission(newPermissionOption: PermissionOption)
Link copied to clipboard
suspend fun updateGroupPinnedFrameUrl(pinnedFrameUrl: String)
Link copied to clipboard
suspend fun updateGroupPinnedFrameUrlPermission(newPermissionOption: PermissionOption)
Link copied to clipboard
suspend fun updateRemoveAdminPermission(newPermissionOption: PermissionOption)
Link copied to clipboard
suspend fun updateRemoveMemberPermission(newPermissionOption: PermissionOption)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard