Package-level declarations

Types

Link copied to clipboard
data class AddMembersRequest(val convoId: String, val members: List<Did>)
Link copied to clipboard
data class AddMembersResponse(val convo: ConvoView, val addedMembers: List<ProfileViewBasic>? = null)
Link copied to clipboard
data class ApproveJoinRequestRequest(val convoId: String, val member: Did)
Link copied to clipboard
Link copied to clipboard
data class CreateGroupRequest(val members: List<Did>, val name: String)
Link copied to clipboard
Link copied to clipboard
data class CreateJoinLinkRequest(val convoId: String, val requireApproval: Boolean? = false, val joinRule: JoinRule)
Link copied to clipboard
Link copied to clipboard

Preview for a disabled join link. Carries only the code so clients can correlate with the input and render a disabled state.

Link copied to clipboard
data class DisableJoinLinkRequest(val convoId: String)
Link copied to clipboard
Link copied to clipboard
data class EditGroupRequest(val convoId: String, val name: String)
Link copied to clipboard
Link copied to clipboard
data class EditJoinLinkRequest(val convoId: String, val requireApproval: Boolean? = null, val joinRule: JoinRule? = null)
Link copied to clipboard
Link copied to clipboard
data class EnableJoinLinkRequest(val convoId: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Preview for a join link code that does not map to an existing link. Carries only the code so clients can correlate with the input and render an invalid state.

Link copied to clipboard
data class JoinLinkPreviewView(val convoId: String, val code: String, val name: String, val owner: ProfileViewBasic, val memberCount: Long, val memberLimit: Long, val requireApproval: Boolean, val joinRule: JoinRule, val convo: ConvoView? = null, val viewer: JoinLinkViewerState? = null)

Preview that can be shown in feeds, including to unauthenticated viewers.

Link copied to clipboard
data class JoinLinkView(val code: String, val enabledStatus: LinkEnabledStatus, val requireApproval: Boolean, val joinRule: JoinRule, val createdAt: Timestamp)

Join link view to be used within a group view, so the convo is surrounding, not specified inside this view.

Link copied to clipboard
data class JoinLinkViewerState(val requestedAt: Timestamp? = null)
Link copied to clipboard
data class JoinRequestConvoView(val convoId: String, val name: String, val owner: ProfileViewBasic, val memberCount: Long, val memberLimit: Long, val viewer: JoinLinkViewerState)

A join request from the perspective of the requester, including enough group context to render the request in a list (e.g. group name, owner, member count).

Link copied to clipboard
data class JoinRequestView(val convoId: String, val requestedBy: ProfileViewBasic, val requestedAt: Timestamp)

A join request from the perspective of the group owner.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ListJoinRequestsQueryParams(val convoId: String, val limit: Long? = 50, val cursor: String? = null)
Link copied to clipboard
data class ListJoinRequestsResponse(val cursor: String? = null, val requests: List<JoinRequestView>)
Link copied to clipboard
data class ListMutualGroupsQueryParams(val subject: Did, val limit: Long? = 50, val cursor: String? = null)
Link copied to clipboard
data class ListMutualGroupsResponse(val cursor: String? = null, val convos: List<ConvoView>)
Link copied to clipboard
data class RejectJoinRequestRequest(val convoId: String, val member: Did)
Link copied to clipboard
data class RemoveMembersRequest(val convoId: String, val members: List<Did>)
Link copied to clipboard
Link copied to clipboard
data class RequestJoinRequest(val code: String)
Link copied to clipboard
data class RequestJoinResponse(val status: RequestJoinStatus, val convo: ConvoView? = null)
Link copied to clipboard
Link copied to clipboard