Group
public struct Group : Identifiable, Equatable, Hashable
Undocumented
-
Declaration
Swift
public var id: String { get } -
Undocumented
Declaration
Swift
public var topic: String { get } -
Undocumented
Declaration
Swift
public var disappearingMessageSettings: DisappearingMessageSettings? { get } -
Undocumented
Declaration
Swift
public func isDisappearingMessagesEnabled() throws -> Bool -
sync()AsynchronousUndocumented
Declaration
Swift
public func sync() async throws -
Declaration
Swift
public static func == (lhs: Group, rhs: Group) -> Bool -
Declaration
Swift
public func hash(into hasher: inout Hasher) -
Undocumented
Declaration
Swift
public func isActive() throws -> Bool -
isCreator()AsynchronousUndocumented
Declaration
Swift
public func isCreator() async throws -> Bool -
Undocumented
Declaration
Swift
public func isAdmin(inboxId: InboxId) throws -> Bool -
Undocumented
Declaration
Swift
public func isSuperAdmin(inboxId: InboxId) throws -> Bool -
addAdmin(inboxId:Asynchronous) Undocumented
Declaration
Swift
public func addAdmin(inboxId: InboxId) async throws -
removeAdmin(inboxId:Asynchronous) Undocumented
Declaration
Swift
public func removeAdmin(inboxId: InboxId) async throws -
addSuperAdmin(inboxId:Asynchronous) Undocumented
Declaration
Swift
public func addSuperAdmin(inboxId: InboxId) async throws -
removeSuperAdmin(inboxId:Asynchronous) Undocumented
Declaration
Swift
public func removeSuperAdmin(inboxId: InboxId) async throws -
Undocumented
Declaration
Swift
public func listAdmins() throws -> [InboxId] -
Undocumented
Declaration
Swift
public func listSuperAdmins() throws -> [InboxId] -
Undocumented
Declaration
Swift
public func permissionPolicySet() throws -> PermissionPolicySet -
creatorInboxId()AsynchronousUndocumented
Declaration
Swift
public func creatorInboxId() async throws -> InboxId -
Undocumented
Declaration
Swift
public func addedByInboxId() throws -> InboxId -
membersAsynchronousUndocumented
Declaration
Swift
public var members: [Member] { get async throws } -
peerInboxIdsAsynchronousUndocumented
Declaration
Swift
public var peerInboxIds: [InboxId] { get async throws } -
Undocumented
Declaration
Swift
public var createdAt: Date { get } -
Undocumented
Declaration
Swift
public var createdAtNs: Int64 { get } -
Undocumented
Declaration
Swift
public var lastActivityAtNs: Int64 { get } -
addMembers(inboxIds:Asynchronous) Undocumented
Declaration
Swift
public func addMembers(inboxIds: [InboxId]) async throws -> GroupMembershipResult -
removeMembers(inboxIds:Asynchronous) Undocumented
Declaration
Swift
public func removeMembers(inboxIds: [InboxId]) async throws -
addMembersByIdentity(identities:Asynchronous) Undocumented
Declaration
Swift
public func addMembersByIdentity(identities: [PublicIdentity]) async throws -> GroupMembershipResult -
removeMembersByIdentity(identities:Asynchronous) Undocumented
Declaration
Swift
public func removeMembersByIdentity(identities: [PublicIdentity]) async throws -
Undocumented
Declaration
Swift
public func name() throws -> String -
Undocumented
Declaration
Swift
public func imageUrl() throws -> String -
Undocumented
Declaration
Swift
public func description() throws -> String -
updateName(name:Asynchronous) Undocumented
Declaration
Swift
public func updateName(name: String) async throws -
updateImageUrl(imageUrl:Asynchronous) Undocumented
Declaration
Swift
public func updateImageUrl(imageUrl: String) async throws -
updateDescription(description:Asynchronous) Undocumented
Declaration
Swift
public func updateDescription(description: String) async throws -
updateAddMemberPermission(newPermissionOption:Asynchronous) Undocumented
Declaration
Swift
public func updateAddMemberPermission(newPermissionOption: PermissionOption) async throws -
updateRemoveMemberPermission(newPermissionOption:Asynchronous) Undocumented
Declaration
Swift
public func updateRemoveMemberPermission( newPermissionOption: PermissionOption ) async throws -
updateAddAdminPermission(newPermissionOption:Asynchronous) Undocumented
Declaration
Swift
public func updateAddAdminPermission(newPermissionOption: PermissionOption) async throws -
updateRemoveAdminPermission(newPermissionOption:Asynchronous) Undocumented
Declaration
Swift
public func updateRemoveAdminPermission( newPermissionOption: PermissionOption ) async throws -
updateNamePermission(newPermissionOption:Asynchronous) Undocumented
Declaration
Swift
public func updateNamePermission(newPermissionOption: PermissionOption) async throws -
updateDescriptionPermission(newPermissionOption:Asynchronous) Undocumented
Declaration
Swift
public func updateDescriptionPermission( newPermissionOption: PermissionOption ) async throws -
updateImageUrlPermission(newPermissionOption:Asynchronous) Undocumented
Declaration
Swift
public func updateImageUrlPermission( newPermissionOption: PermissionOption ) async throws -
updateDisappearingMessageSettings(_:Asynchronous) Undocumented
Declaration
Swift
public func updateDisappearingMessageSettings( _ disappearingMessageSettings: DisappearingMessageSettings? ) async throws -
clearDisappearingMessageSettings()AsynchronousUndocumented
Declaration
Swift
public func clearDisappearingMessageSettings() async throws -
Undocumented
Declaration
Swift
public func pausedForVersion() throws -> String? -
updateConsentState(state:Asynchronous) Undocumented
Declaration
Swift
public func updateConsentState(state: ConsentState) async throws -
Undocumented
Declaration
Swift
public func consentState() throws -> ConsentState -
processMessage(messageBytes:Asynchronous) Undocumented
Declaration
Swift
public func processMessage(messageBytes: Data) async throws -> DecodedMessage? -
send(content:Asynchronousoptions: ) Undocumented
Declaration
Swift
public func send<T>(content: T, options: SendOptions? = nil) async throws -> String -
send(encodedContent:AsynchronousvisibilityOptions: ) Undocumented
Declaration
Swift
public func send( encodedContent: EncodedContent, visibilityOptions: MessageVisibilityOptions? = nil ) async throws -> String -
encodeContent(content:Asynchronousoptions: ) Undocumented
Declaration
Swift
public func encodeContent<T>(content: T, options: SendOptions?) async throws -> (EncodedContent, MessageVisibilityOptions) -
prepareMessage(encodedContent:AsynchronousvisibilityOptions: ) Undocumented
Declaration
Swift
public func prepareMessage( encodedContent: EncodedContent, visibilityOptions: MessageVisibilityOptions? = nil ) async throws -> String -
prepareMessage(content:Asynchronousoptions: ) Undocumented
Declaration
Swift
public func prepareMessage<T>(content: T, options: SendOptions? = nil) async throws -> String -
publishMessages()AsynchronousUndocumented
Declaration
Swift
public func publishMessages() async throws -
Undocumented
Declaration
Swift
public func endStream() -
Undocumented
Declaration
Swift
public func streamMessages(onClose: (() -> Void)? = nil) -> AsyncThrowingStream<DecodedMessage, Error> -
lastMessage()AsynchronousUndocumented
Declaration
Swift
public func lastMessage() async throws -> DecodedMessage? -
Undocumented
Declaration
Swift
public func commitLogForkStatus() -> CommitLogForkStatus -
messages(beforeNs:AsynchronousafterNs: limit: direction: deliveryStatus: excludeContentTypes: excludeSenderInboxIds: ) Undocumented
Declaration
Swift
public func messages( beforeNs: Int64? = nil, afterNs: Int64? = nil, limit: Int? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) async throws -> [DecodedMessage] -
messagesWithReactions(beforeNs:AsynchronousafterNs: limit: direction: deliveryStatus: excludeContentTypes: excludeSenderInboxIds: ) Undocumented
Declaration
Swift
public func messagesWithReactions( beforeNs: Int64? = nil, afterNs: Int64? = nil, limit: Int? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) async throws -> [DecodedMessage] -
enrichedMessages(beforeNs:AsynchronousafterNs: limit: direction: deliveryStatus: excludeContentTypes: excludeSenderInboxIds: ) Undocumented
Declaration
Swift
public func enrichedMessages( beforeNs: Int64? = nil, afterNs: Int64? = nil, limit: Int? = nil, direction: SortDirection? = .descending, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) async throws -> [DecodedMessageV2] -
Undocumented
Declaration
Swift
public func countMessages( beforeNs: Int64? = nil, afterNs: Int64? = nil, deliveryStatus: MessageDeliveryStatus = .all, excludeContentTypes: [StandardContentType]? = nil, excludeSenderInboxIds: [String]? = nil ) throws -> Int64 -
Undocumented
Declaration
Swift
public func getHmacKeys() throws -> Xmtp_KeystoreApi_V1_GetConversationHmacKeysResponse -
Undocumented
Declaration
Swift
public func getPushTopics() throws -> [String] -
getDebugInformation()AsynchronousUndocumented
Declaration
Swift
public func getDebugInformation() async throws -> ConversationDebugInfo -
Undocumented
Declaration
Swift
public func getLastReadTimes() throws -> [String : Int64]
Group Structure Reference