[Feature Request]: Add `chat.bsky.convo` reply and group conversation support

Abierto
#320 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
43/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Tranquilo
Stack tecnológico
swift
Área
api

Línea de trabajo

Start with Sources/ATProtoKit/Models/Lexicons/chat.bsky/Convo/ChatBskyConvoDefs.swift and the wrappers under Sources/ATProtoKit/APIReference/ChatBskyAPI/; compare their existing acceptConvo and muteConvo patterns with the referenced chat.bsky.convo lexicons. Add the listed reply and group types and fields, then expose the four requested endpoints with api.bsky.chat routing. Done when replies, group metadata, and all four operations are available through ATProtoBlueskyChat.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

new feature
Summary

chat.bsky.convo upstream has been extended with two cross-cutting additions that are not yet reflected in the typed models or wrappers: message-level reply (replyTo on both input and view) and group conversations (convoView.kind union with #groupConvo, plus four new XRPC endpoints). Currently the SDK exposes neither, so the entire reply / group surface is unreachable through ATProtoBlueskyChat.

Pain points

The reply / group definitions are absent from the typed models and wrappers, so the whole surface is unreachable through ATProtoBlueskyChat: typed quote-reply on sendMessage is impossible, an incoming reply's parent is silently dropped on decode (no field-level .unknown fallback), a group is indistinguishable from a 1:1 DM with its metadata unreachable, and the group / lock endpoints require raw XRPC that re-implements the api.bsky.chat host routing / auth ATProtoBlueskyChat already provides. See Additional Context for the specific undefined types, fields, and wrappers.

Considered Alternatives

Raw XRPC for the entire chat surface (loses typed pipeline and the isRelatedToBskyChat host routing) — only viable per-client and brittle.

Is this a breaking change?

No

Library Examples

N/A

Additional Context
Missing types
Lexicon Suggested type
chat.bsky.convo.defs#replyRef ReplyReferenceDefinition — messageID: String (messageId)
chat.bsky.convo.defs#messageBeforeUserJoinedGroupView MessageBeforeUserJoinedGroupViewDefinition — per lexicon
chat.bsky.convo.defs#groupConvo GroupConvoDefinition — name: String?, createdAt: Date, lockStatus: String, lockStatusModerationOverride: String?, memberCount: Int, memberLimit: Int, joinLink: String?, joinRequestCount: Int, unreadJoinRequestCount: Int
Missing fields on existing types
Lexicon Suggested field
chat.bsky.convo.defs#messageInput replyTo: ReplyReferenceDefinition?
chat.bsky.convo.defs#messageView replyTo: ReplyToUnion? (messageView | deletedMessageView | messageBeforeUserJoinedGroupView)
chat.bsky.convo.defs#convoView kind: KindUnion? (groupConvo)
Missing wrappers
Lexicon Suggested method
chat.bsky.convo.getConvoMembers getConversationMembers(from:limit:cursor:)
chat.bsky.convo.listConvoRequests listConversationRequests(limit:cursor:)
chat.bsky.convo.lockConvo lockConversation(by:)
chat.bsky.convo.unlockConvo unlockConversation(by:)

All four sit on api.bsky.chat, mirror the existing acceptConvo / muteConvo shape, and require isRelatedToBskyChat: true routing.

References
Lenguaje dominante
Swift
Estrellas
226
Forks
40
Merge medio
5 h 8 min
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MasterJ93/ATProtoKit

Todos los issues de MasterJ93/ATProtoKit

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.