Package-level declarations

Types

Link copied to clipboard
data class AcceptConvoRequest(val convoId: String)
Link copied to clipboard
data class AcceptConvoResponse(val rev: String? = null)
Link copied to clipboard
data class AddReactionRequest(val convoId: String, val messageId: String, val value: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ConvoRef(val did: Did, val convoId: String)
Link copied to clipboard
Link copied to clipboard
data class ConvoView(val id: String, val rev: String, val members: List<ProfileViewBasic>, val lastMessage: ConvoViewLastMessageUnion? = null, val lastReaction: ConvoViewLastReactionUnion? = null, val muted: Boolean, val status: ConvoStatus? = null, val unreadCount: Long, val kind: ConvoViewKindUnion? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class DeletedMessageView(val id: String, val rev: String, val sender: MessageViewSender, val sentAt: Timestamp)
Link copied to clipboard
data class DeleteMessageForSelfRequest(val convoId: String, val messageId: String)
Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here.

Link copied to clipboard
Link copied to clipboard
data class GetConvoAvailabilityResponse(val canChat: Boolean, val convo: ConvoView? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class GetConvoMembersQueryParams(val convoId: String, val limit: Long? = 50, val cursor: String? = null)
Link copied to clipboard
data class GetConvoMembersResponse(val cursor: String? = null, val members: List<ProfileViewBasic>)
Link copied to clipboard
data class GetConvoQueryParams(val convoId: String)
Link copied to clipboard
data class GetConvoResponse(val convo: ConvoView)
Link copied to clipboard
data class GetLogQueryParams(val cursor: String? = null)
Link copied to clipboard
data class GetLogResponse(val cursor: String? = null, val logs: List<GetLogResponseLogUnion>)
Link copied to clipboard
Link copied to clipboard
data class GetMessagesQueryParams(val convoId: String, val limit: Long? = 50, val cursor: String? = null)
Link copied to clipboard
data class GetMessagesResponse(val cursor: String? = null, val messages: List<GetMessagesResponseMessageUnion>, val relatedProfiles: List<ProfileViewBasic>? = null)
Link copied to clipboard
data class GetUnreadCountsResponse(val unreadAcceptedConvos: Long, val unreadRequestConvos: Long)
Link copied to clipboard
data class GroupConvo(val createdAt: Timestamp, val joinLink: JoinLinkView? = null, val joinRequestCount: Long? = null, val lockStatus: ConvoLockStatus, val lockStatusModerationOverride: Boolean, val memberCount: Long, val memberLimit: Long, val name: String, val unreadJoinRequestCount: Long? = null)

NOTE: This is under active development and should be considered unstable while this note is here.

Link copied to clipboard
data class LeaveConvoRequest(val convoId: String)
Link copied to clipboard
data class LeaveConvoResponse(val convoId: String, val rev: String)
Link copied to clipboard
data class ListConvoRequestsQueryParams(val limit: Long? = 50, val cursor: String? = null)
Link copied to clipboard
Link copied to clipboard

Filter by conversation kind.

Link copied to clipboard

Filter by conversation lock status. Values follow chat.bsky.convo.defs#convoLockStatus.

Link copied to clipboard
data class ListConvosQueryParams(val limit: Long? = 50, val cursor: String? = null, val readState: ListConvosReadState? = null, val status: ListConvosStatus? = null, val kind: ListConvosKind? = null, val lockStatus: ListConvosLockStatus? = null)
Link copied to clipboard
data class ListConvosResponse(val cursor: String? = null, val convos: List<ConvoView>)
Link copied to clipboard

Filter convos by their status. It is discouraged to call with "request" and preferred to call chat.bsky.convo.listConvoRequests, which also includes group join requests made by the user.

Link copied to clipboard
data class LockConvoRequest(val convoId: String)
Link copied to clipboard
Link copied to clipboard
data class LogAcceptConvo(val rev: String, val convoId: String)

Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group.

Link copied to clipboard
data class LogAddMember(val rev: String, val convoId: String, val message: SystemMessageView, val relatedProfiles: List<ProfileViewBasic>)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a member was added to a group convo. The member who was added gets a logBeginConvo (to create the convo) but also a logAddMember (to show the system message as the first message the user sees).

Link copied to clipboard
data class LogAddReaction(val rev: String, val convoId: String, val message: LogAddReactionMessageUnion, val reaction: ReactionView, val relatedProfiles: List<ProfileViewBasic>? = null)

Event indicating a reaction was added to a message.

Link copied to clipboard
Link copied to clipboard
data class LogApproveJoinRequest(val rev: String, val convoId: String, val member: ProfileViewBasic)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a join request was approved by the viewer. Only the owner gets this. The approved member gets a logBeginConvo.

Link copied to clipboard
data class LogBeginConvo(val rev: String, val convoId: String)

Event indicating a convo containing the viewer was started. Can be direct or group. When a member is added to a group convo, they also get this event.

Link copied to clipboard
data class LogCreateJoinLink(val rev: String, val convoId: String, val message: SystemMessageView)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a join link was created for a group convo.

Link copied to clipboard
data class LogCreateMessage(val rev: String, val convoId: String, val message: LogCreateMessageMessageUnion, val relatedProfiles: List<ProfileViewBasic>? = null)

Event indicating a user-originated message was created. Is not emitted for system messages.

Link copied to clipboard
Link copied to clipboard
data class LogDeleteMessage(val rev: String, val convoId: String, val message: LogDeleteMessageMessageUnion)

Event indicating a user-originated message was deleted. Is not emitted for system messages.

Link copied to clipboard
Link copied to clipboard
data class LogDisableJoinLink(val rev: String, val convoId: String, val message: SystemMessageView)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a join link was disabled for a group convo.

Link copied to clipboard
data class LogEditGroup(val rev: String, val convoId: String, val message: SystemMessageView)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating info about group convo was edited.

Link copied to clipboard
data class LogEditJoinLink(val rev: String, val convoId: String, val message: SystemMessageView)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a settings about a join link for a group convo were edited.

Link copied to clipboard
data class LogEnableJoinLink(val rev: String, val convoId: String, val message: SystemMessageView)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a join link was enabled for a group convo.

Link copied to clipboard
data class LogIncomingJoinRequest(val rev: String, val convoId: String, val member: ProfileViewBasic)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a join request was made to a group the viewer owns. Only the owner gets this.

Link copied to clipboard
data class LogLeaveConvo(val rev: String, val convoId: String)

Event indicating the viewer left a convo. Can be direct or group.

Link copied to clipboard
data class LogLockConvo(val rev: String, val convoId: String, val message: SystemMessageView, val relatedProfiles: List<ProfileViewBasic>)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a group convo was locked.

Link copied to clipboard
data class LogLockConvoPermanently(val rev: String, val convoId: String, val message: SystemMessageView, val relatedProfiles: List<ProfileViewBasic>)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a group convo was locked permanently.

Link copied to clipboard
data class LogMemberJoin(val rev: String, val convoId: String, val message: SystemMessageView, val relatedProfiles: List<ProfileViewBasic>)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a member joined a group convo via join link. The member who was added gets a logBeginConvo (to create the convo) but also a logMemberJoin (to show the system message as the first message the user sees).

Link copied to clipboard
data class LogMemberLeave(val rev: String, val convoId: String, val message: SystemMessageView, val relatedProfiles: List<ProfileViewBasic>)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a member voluntarily left a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logMemberLeave (because they already left, so can't see the system message).

Link copied to clipboard
data class LogMuteConvo(val rev: String, val convoId: String)

Event indicating the viewer muted a convo. Can be direct or group.

Link copied to clipboard
data class LogOutgoingJoinRequest(val rev: String, val convoId: String)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a join request was made by the requester. Only requester actor gets this.

Link copied to clipboard
data class LogReadConvo(val rev: String, val convoId: String, val message: LogReadConvoMessageUnion)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a convo was read up to a certain message.

Link copied to clipboard
Link copied to clipboard
data class LogReadJoinRequests(val rev: String, val convoId: String)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating the group owner marked join requests as read. Only the owner gets this.

Link copied to clipboard
data class LogReadMessage(val rev: String, val convoId: String, val message: LogReadMessageMessageUnion)
Link copied to clipboard
Link copied to clipboard
data class LogRejectJoinRequest(val rev: String, val convoId: String, val member: ProfileViewBasic)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a join request was rejected by the viewer. Only the owner gets this.

Link copied to clipboard
data class LogRemoveMember(val rev: String, val convoId: String, val message: SystemMessageView, val relatedProfiles: List<ProfileViewBasic>)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a member was removed from a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logRemoveMember (because they already left, so can't see the system message).

Link copied to clipboard
data class LogRemoveReaction(val rev: String, val convoId: String, val message: LogRemoveReactionMessageUnion, val reaction: ReactionView, val relatedProfiles: List<ProfileViewBasic>? = null)

Event indicating a reaction was removed from a message.

Link copied to clipboard
data class LogUnlockConvo(val rev: String, val convoId: String, val message: SystemMessageView, val relatedProfiles: List<ProfileViewBasic>)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a group convo was unlocked.

Link copied to clipboard
data class LogUnmuteConvo(val rev: String, val convoId: String)

Event indicating the viewer unmuted a convo. Can be direct or group.

Link copied to clipboard
data class LogWithdrawIncomingJoinRequest(val rev: String, val convoId: String, val member: ProfileViewBasic)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating a prospective member withdrew their join request. Only the owner gets this.

Link copied to clipboard
data class LogWithdrawOutgoingJoinRequest(val rev: String, val convoId: String)

NOTE: This is under active development and should be considered unstable while this note is here. Event indicating the viewer withdrew their own join request. Only requester actor gets this.

Link copied to clipboard
data class MessageAndReactionView(val message: MessageView, val reaction: ReactionView)
Link copied to clipboard
data class MessageInput(val text: String, val facets: List<Facet>? = null, val embed: MessageInputEmbedUnion? = null)
Link copied to clipboard
Link copied to clipboard
data class MessageRef(val did: Did, val convoId: String, val messageId: String)
Link copied to clipboard
data class MessageView(val id: String, val rev: String, val text: String, val facets: List<Facet>? = null, val embed: MessageViewEmbedUnion? = null, val reactions: List<ReactionView>? = null, val sender: MessageViewSender, val sentAt: Timestamp)
Link copied to clipboard
Link copied to clipboard
data class MessageViewSender(val did: Did)
Link copied to clipboard
data class MuteConvoRequest(val convoId: String)
Link copied to clipboard
Link copied to clipboard
data class ReactionView(val value: String, val sender: ReactionViewSender, val createdAt: Timestamp)
Link copied to clipboard
data class ReactionViewSender(val did: Did)
Link copied to clipboard
data class RemoveReactionRequest(val convoId: String, val messageId: String, val value: String)
Link copied to clipboard
Link copied to clipboard
data class SendMessageBatchBatchItem(val convoId: String, val message: MessageInput)
Link copied to clipboard
Link copied to clipboard
data class SendMessageRequest(val convoId: String, val message: MessageInput)
Link copied to clipboard
Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating a user was added to the group convo.

Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating the group join link was created.

Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating the group join link was disabled.

Link copied to clipboard
data class SystemMessageDataEditGroup(val oldName: String? = null, val newName: String? = null)

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating the group info was edited.

Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating the group join link was edited.

Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating the group join link was enabled.

Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating the group convo was locked.

Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating the group convo was locked permanently.

Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating a user joined the group convo via join link.

Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating a user voluntarily left the group convo.

Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating a user was removed from the group convo.

Link copied to clipboard

NOTE: This is under active development and should be considered unstable while this note is here. System message indicating the group convo was unlocked.

Link copied to clipboard
Link copied to clipboard
data class SystemMessageView(val id: String, val rev: String, val sentAt: Timestamp, val data: SystemMessageViewDataUnion)

NOTE: This is under active development and should be considered unstable while this note is here.

Link copied to clipboard
Link copied to clipboard
data class UnlockConvoRequest(val convoId: String)
Link copied to clipboard
Link copied to clipboard
data class UnmuteConvoRequest(val convoId: String)
Link copied to clipboard
Link copied to clipboard
data class UpdateAllReadRequest(val status: UpdateAllReadStatus? = null)
Link copied to clipboard
data class UpdateAllReadResponse(val updatedCount: Long)
Link copied to clipboard
data class UpdateReadRequest(val convoId: String, val messageId: String? = null)
Link copied to clipboard