chat.bsky.convo.getUnreadCounts

Returns unread conversation counts for conversations that are unlocked, not muted, split by convo status. Direct convos are excluded when a block relationship exists between the actor and the other member, or when the other member’s account is deleted or deactivated. Group convos are considered unread if they have unread join request counts.

class atproto_client.models.chat.bsky.convo.get_unread_counts.Params

Bases: ParamsModelBase

Parameters model for chat.bsky.convo.getUnreadCounts.

field include_group_chats: bool | None = True

When false, group convos are excluded from the counts.

class atproto_client.models.chat.bsky.convo.get_unread_counts.ParamsDict

Bases: TypedDict

include_group_chats: NotRequired[bool | None]

When false, group convos are excluded from the counts.

class atproto_client.models.chat.bsky.convo.get_unread_counts.Response

Bases: ResponseModelBase

Output data model for chat.bsky.convo.getUnreadCounts.

field unread_accepted_convos: int [Required]

Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 100, where 100 means more than 99.

field unread_request_convos: int [Required]

Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 100, where 100 means more than 99.