···1313 "allowIncoming": {
1414 "type": "string",
1515 "knownValues": ["all", "none", "following"]
1616+ },
1717+ "allowGroupInvites": {
1818+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Declaration about group chat invitation preferences for the record owner.",
1919+ "type": "string",
2020+ "knownValues": ["all", "none", "following"]
1621 }
1722 }
1823 }
···22 "lexicon": 1,
33 "id": "chat.bsky.actor.defs",
44 "defs": {
55+ "memberRole": {
66+ "type": "string",
77+ "knownValues": ["owner", "standard"]
88+ },
59 "profileViewBasic": {
610 "type": "object",
711 "required": ["did", "handle"],
···3842 "ref": "com.atproto.label.defs#label"
3943 }
4044 },
4545+ "createdAt": {
4646+ "type": "string",
4747+ "format": "datetime"
4848+ },
4149 "chatDisabled": {
4250 "type": "boolean",
4351 "description": "Set to true when the actor cannot actively participate in conversations"
···4553 "verification": {
4654 "type": "ref",
4755 "ref": "app.bsky.actor.defs#verificationState"
5656+ },
5757+ "kind": {
5858+ "description": "Union field that has data specific to different kinds of convos.",
5959+ "type": "union",
6060+ "refs": ["#directConvoMember", "#groupConvoMember"]
6161+ }
6262+ }
6363+ },
6464+ "directConvoMember": {
6565+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
6666+ "type": "object",
6767+ "properties": {}
6868+ },
6969+ "groupConvoMember": {
7070+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
7171+ "type": "object",
7272+ "required": ["role"],
7373+ "properties": {
7474+ "addedBy": {
7575+ "description": "Who added this member. Only present if the member was added (instead of joining via link).",
7676+ "type": "ref",
7777+ "ref": "#profileViewBasic"
7878+ },
7979+ "role": {
8080+ "description": "The member's role within this conversation. Only present in group conversation member lists.",
8181+ "type": "ref",
8282+ "ref": "#memberRole"
4883 }
4984 }
5085 }
···44 "defs": {
55 "main": {
66 "type": "procedure",
77+ "description": "Marks a conversation as accepted, so it is shown in the list of accepted convos instead on the request convos.",
88+ "errors": [
99+ {
1010+ "name": "InvalidConvo"
1111+ }
1212+ ],
713 "input": {
814 "encoding": "application/json",
915 "schema": {
···4242 },
4343 "errors": [
4444 {
4545+ "name": "InvalidConvo"
4646+ },
4747+ {
4848+ "name": "ReactionNotAllowed",
4949+ "description": "Indicates that reactions are not allowed on this message, e.g. because it is a system message."
5050+ },
5151+ {
4552 "name": "ReactionMessageDeleted",
4653 "description": "Indicates that the message has been deleted and reactions can no longer be added/removed."
4754 },
···22 "lexicon": 1,
33 "id": "chat.bsky.convo.defs",
44 "defs": {
55+ "convoKind": {
66+ "type": "string",
77+ "knownValues": ["direct", "group"]
88+ },
99+ "convoLockStatus": {
1010+ "type": "string",
1111+ "knownValues": ["unlocked", "locked", "locked-permanently"]
1212+ },
1313+ "convoStatus": {
1414+ "type": "string",
1515+ "knownValues": ["request", "accepted"]
1616+ },
517 "messageRef": {
618 "type": "object",
719 "required": ["did", "messageId", "convoId"],
···8698 }
8799 }
88100 },
101101+ "systemMessageView": {
102102+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
103103+ "type": "object",
104104+ "required": ["id", "rev", "sentAt", "data"],
105105+ "properties": {
106106+ "id": {
107107+ "type": "string"
108108+ },
109109+ "rev": {
110110+ "type": "string"
111111+ },
112112+ "sentAt": {
113113+ "type": "string",
114114+ "format": "datetime"
115115+ },
116116+ "data": {
117117+ "type": "union",
118118+ "refs": [
119119+ "#systemMessageDataAddMember",
120120+ "#systemMessageDataRemoveMember",
121121+ "#systemMessageDataMemberJoin",
122122+ "#systemMessageDataMemberLeave",
123123+ "#systemMessageDataLockConvo",
124124+ "#systemMessageDataUnlockConvo",
125125+ "#systemMessageDataLockConvoPermanently",
126126+ "#systemMessageDataEditGroup",
127127+ "#systemMessageDataCreateJoinLink",
128128+ "#systemMessageDataEditJoinLink",
129129+ "#systemMessageDataEnableJoinLink",
130130+ "#systemMessageDataDisableJoinLink"
131131+ ]
132132+ }
133133+ }
134134+ },
135135+ "systemMessageDataAddMember": {
136136+ "description": "[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.",
137137+ "type": "object",
138138+ "required": ["member", "role", "addedBy"],
139139+ "properties": {
140140+ "member": {
141141+ "description": "Current view of the member who was added.",
142142+ "type": "ref",
143143+ "ref": "chat.bsky.actor.defs#profileViewBasic"
144144+ },
145145+ "role": {
146146+ "description": "Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.",
147147+ "type": "ref",
148148+ "ref": "chat.bsky.actor.defs#memberRole"
149149+ },
150150+ "addedBy": {
151151+ "type": "ref",
152152+ "ref": "chat.bsky.actor.defs#profileViewBasic"
153153+ }
154154+ }
155155+ },
156156+ "systemMessageDataRemoveMember": {
157157+ "description": "[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.",
158158+ "type": "object",
159159+ "required": ["member", "removedBy"],
160160+ "properties": {
161161+ "member": {
162162+ "description": "Current view of the member who was removed.",
163163+ "type": "ref",
164164+ "ref": "chat.bsky.actor.defs#profileViewBasic"
165165+ },
166166+ "removedBy": {
167167+ "type": "ref",
168168+ "ref": "chat.bsky.actor.defs#profileViewBasic"
169169+ }
170170+ }
171171+ },
172172+ "systemMessageDataMemberJoin": {
173173+ "description": "[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.",
174174+ "type": "object",
175175+ "required": ["member", "role"],
176176+ "properties": {
177177+ "member": {
178178+ "description": "Current view of the member who joined.",
179179+ "type": "ref",
180180+ "ref": "chat.bsky.actor.defs#profileViewBasic"
181181+ },
182182+ "role": {
183183+ "description": "Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.",
184184+ "type": "ref",
185185+ "ref": "chat.bsky.actor.defs#memberRole"
186186+ },
187187+ "approvedBy": {
188188+ "description": "If join link was configured to require approval, this will be set to who approved the request. Undefined if approval was not required.",
189189+ "type": "ref",
190190+ "ref": "chat.bsky.actor.defs#profileViewBasic"
191191+ }
192192+ }
193193+ },
194194+ "systemMessageDataMemberLeave": {
195195+ "description": "[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.",
196196+ "type": "object",
197197+ "required": ["member"],
198198+ "properties": {
199199+ "member": {
200200+ "description": "Current view of the member who left the group.",
201201+ "type": "ref",
202202+ "ref": "chat.bsky.actor.defs#profileViewBasic"
203203+ }
204204+ }
205205+ },
206206+ "systemMessageDataLockConvo": {
207207+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked.",
208208+ "type": "object",
209209+ "required": ["lockedBy"],
210210+ "properties": {
211211+ "lockedBy": {
212212+ "description": "Current view of the member who locked the group.",
213213+ "type": "ref",
214214+ "ref": "chat.bsky.actor.defs#profileViewBasic"
215215+ }
216216+ }
217217+ },
218218+ "systemMessageDataUnlockConvo": {
219219+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was unlocked.",
220220+ "type": "object",
221221+ "required": ["unlockedBy"],
222222+ "properties": {
223223+ "unlockedBy": {
224224+ "description": "Current view of the member who unlocked the group.",
225225+ "type": "ref",
226226+ "ref": "chat.bsky.actor.defs#profileViewBasic"
227227+ }
228228+ }
229229+ },
230230+ "systemMessageDataLockConvoPermanently": {
231231+ "description": "[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.",
232232+ "type": "object",
233233+ "required": ["lockedBy"],
234234+ "properties": {
235235+ "lockedBy": {
236236+ "description": "Current view of the member who locked the group.",
237237+ "type": "ref",
238238+ "ref": "chat.bsky.actor.defs#profileViewBasic"
239239+ }
240240+ }
241241+ },
242242+ "systemMessageDataEditGroup": {
243243+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group info was edited.",
244244+ "type": "object",
245245+ "properties": {
246246+ "oldName": {
247247+ "description": "Group name that was replaced.",
248248+ "type": "string"
249249+ },
250250+ "newName": {
251251+ "description": "Group name that replaced the old.",
252252+ "type": "string"
253253+ }
254254+ }
255255+ },
256256+ "systemMessageDataCreateJoinLink": {
257257+ "description": "[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.",
258258+ "type": "object",
259259+ "properties": {}
260260+ },
261261+ "systemMessageDataEditJoinLink": {
262262+ "description": "[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.",
263263+ "type": "object",
264264+ "properties": {}
265265+ },
266266+ "systemMessageDataEnableJoinLink": {
267267+ "description": "[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.",
268268+ "type": "object",
269269+ "properties": {}
270270+ },
271271+ "systemMessageDataDisableJoinLink": {
272272+ "description": "[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.",
273273+ "type": "object",
274274+ "properties": {}
275275+ },
89276 "deletedMessageView": {
90277 "type": "object",
91278 "required": ["id", "rev", "sender", "sentAt"],
···168355 "type": "string"
169356 },
170357 "members": {
358358+ "description": "Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who invited the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. NOTE: TBD an endpoint to list all members.",
171359 "type": "array",
172360 "items": {
173361 "type": "ref",
···176364 },
177365 "lastMessage": {
178366 "type": "union",
179179- "refs": ["#messageView", "#deletedMessageView"]
367367+ "refs": ["#messageView", "#deletedMessageView", "#systemMessageView"]
180368 },
181369 "lastReaction": {
182370 "type": "union",
···186374 "type": "boolean"
187375 },
188376 "status": {
189189- "type": "string",
190190- "knownValues": ["request", "accepted"]
377377+ "description": "Convo status for the viewer member (not the convo itself).",
378378+ "type": "ref",
379379+ "ref": "#convoStatus"
191380 },
192381 "unreadCount": {
193382 "type": "integer"
383383+ },
384384+ "kind": {
385385+ "description": "Union field that has data specific to different kinds of convos.",
386386+ "type": "union",
387387+ "refs": ["#directConvo", "#groupConvo"]
388388+ }
389389+ }
390390+ },
391391+ "directConvo": {
392392+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
393393+ "type": "object",
394394+ "properties": {}
395395+ },
396396+ "groupConvo": {
397397+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
398398+ "type": "object",
399399+ "required": ["name", "lockStatus"],
400400+ "properties": {
401401+ "name": {
402402+ "type": "string",
403403+ "description": "The display name of the group conversation.",
404404+ "maxGraphemes": 128,
405405+ "maxLength": 1280
406406+ },
407407+ "joinLink": {
408408+ "type": "ref",
409409+ "ref": "chat.bsky.group.defs#joinLinkView"
410410+ },
411411+ "lockStatus": {
412412+ "description": "The lock status of the conversation.",
413413+ "type": "ref",
414414+ "ref": "#convoLockStatus"
194415 }
195416 }
196417 },
197418 "logBeginConvo": {
419419+ "description": "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.",
198420 "type": "object",
199421 "required": ["rev", "convoId"],
200422 "properties": {
···207429 }
208430 },
209431 "logAcceptConvo": {
432432+ "description": "Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group.",
210433 "type": "object",
211434 "required": ["rev", "convoId"],
212435 "properties": {
···219442 }
220443 },
221444 "logLeaveConvo": {
445445+ "description": "Event indicating the viewer left a convo. Can be direct or group.",
222446 "type": "object",
223447 "required": ["rev", "convoId"],
224448 "properties": {
···231455 }
232456 },
233457 "logMuteConvo": {
458458+ "description": "Event indicating the viewer muted a convo. Can be direct or group.",
234459 "type": "object",
235460 "required": ["rev", "convoId"],
236461 "properties": {
···243468 }
244469 },
245470 "logUnmuteConvo": {
471471+ "description": "Event indicating the viewer unmuted a convo. Can be direct or group.",
246472 "type": "object",
247473 "required": ["rev", "convoId"],
248474 "properties": {
···255481 }
256482 },
257483 "logCreateMessage": {
484484+ "description": "Event indicating a user-originated message was created. Is not emitted for system messages.",
258485 "type": "object",
259486 "required": ["rev", "convoId", "message"],
260487 "properties": {
···271498 }
272499 },
273500 "logDeleteMessage": {
501501+ "description": "Event indicating a user-originated message was deleted. Is not emitted for system messages.",
274502 "type": "object",
275503 "required": ["rev", "convoId", "message"],
276504 "properties": {
···287515 }
288516 },
289517 "logReadMessage": {
518518+ "description": "DEPRECATED: use logReadConvo instead. Event indicating a convo was read up to a certain message.",
290519 "type": "object",
291520 "required": ["rev", "convoId", "message"],
292521 "properties": {
···298527 },
299528 "message": {
300529 "type": "union",
301301- "refs": ["#messageView", "#deletedMessageView"]
530530+ "refs": ["#messageView", "#deletedMessageView", "#systemMessageView"]
302531 }
303532 }
304533 },
305534 "logAddReaction": {
535535+ "description": "Event indicating a reaction was added to a message.",
306536 "type": "object",
307537 "required": ["rev", "convoId", "message", "reaction"],
308538 "properties": {
···323553 }
324554 },
325555 "logRemoveReaction": {
556556+ "description": "Event indicating a reaction was removed from a message.",
326557 "type": "object",
327558 "required": ["rev", "convoId", "message", "reaction"],
328559 "properties": {
···339570 "reaction": {
340571 "type": "ref",
341572 "ref": "#reactionView"
573573+ }
574574+ }
575575+ },
576576+ "logReadConvo": {
577577+ "description": "[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.",
578578+ "type": "object",
579579+ "required": ["rev", "convoId", "message"],
580580+ "properties": {
581581+ "rev": {
582582+ "type": "string"
583583+ },
584584+ "convoId": {
585585+ "type": "string"
586586+ },
587587+ "message": {
588588+ "type": "union",
589589+ "refs": ["#messageView", "#deletedMessageView", "#systemMessageView"]
590590+ }
591591+ }
592592+ },
593593+ "logAddMember": {
594594+ "description": "[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).",
595595+ "type": "object",
596596+ "required": ["rev", "convoId", "message"],
597597+ "properties": {
598598+ "rev": {
599599+ "type": "string"
600600+ },
601601+ "convoId": {
602602+ "type": "string"
603603+ },
604604+ "message": {
605605+ "type": "ref",
606606+ "ref": "#systemMessageDataAddMember"
607607+ }
608608+ }
609609+ },
610610+ "logRemoveMember": {
611611+ "description": "[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).",
612612+ "type": "object",
613613+ "required": ["rev", "convoId", "message"],
614614+ "properties": {
615615+ "rev": {
616616+ "type": "string"
617617+ },
618618+ "convoId": {
619619+ "type": "string"
620620+ },
621621+ "message": {
622622+ "type": "ref",
623623+ "ref": "#systemMessageDataRemoveMember"
624624+ }
625625+ }
626626+ },
627627+ "logMemberJoin": {
628628+ "description": "[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).",
629629+ "type": "object",
630630+ "required": ["rev", "convoId", "message"],
631631+ "properties": {
632632+ "rev": {
633633+ "type": "string"
634634+ },
635635+ "convoId": {
636636+ "type": "string"
637637+ },
638638+ "message": {
639639+ "type": "ref",
640640+ "ref": "#systemMessageDataMemberJoin"
641641+ }
642642+ }
643643+ },
644644+ "logMemberLeave": {
645645+ "description": "[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).",
646646+ "type": "object",
647647+ "required": ["rev", "convoId", "message"],
648648+ "properties": {
649649+ "rev": {
650650+ "type": "string"
651651+ },
652652+ "convoId": {
653653+ "type": "string"
654654+ },
655655+ "message": {
656656+ "type": "ref",
657657+ "ref": "#systemMessageDataMemberLeave"
658658+ }
659659+ }
660660+ },
661661+ "logLockConvo": {
662662+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked.",
663663+ "type": "object",
664664+ "required": ["rev", "convoId", "message"],
665665+ "properties": {
666666+ "rev": {
667667+ "type": "string"
668668+ },
669669+ "convoId": {
670670+ "type": "string"
671671+ },
672672+ "message": {
673673+ "type": "ref",
674674+ "ref": "#systemMessageDataLockConvo"
675675+ }
676676+ }
677677+ },
678678+ "logUnlockConvo": {
679679+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked.",
680680+ "type": "object",
681681+ "required": ["rev", "convoId", "message"],
682682+ "properties": {
683683+ "rev": {
684684+ "type": "string"
685685+ },
686686+ "convoId": {
687687+ "type": "string"
688688+ },
689689+ "message": {
690690+ "type": "ref",
691691+ "ref": "#systemMessageDataUnlockConvo"
692692+ }
693693+ }
694694+ },
695695+ "logLockConvoPermanently": {
696696+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked permanently.",
697697+ "type": "object",
698698+ "required": ["rev", "convoId", "message"],
699699+ "properties": {
700700+ "rev": {
701701+ "type": "string"
702702+ },
703703+ "convoId": {
704704+ "type": "string"
705705+ },
706706+ "message": {
707707+ "type": "ref",
708708+ "ref": "#systemMessageDataLockConvoPermanently"
709709+ }
710710+ }
711711+ },
712712+ "logEditGroup": {
713713+ "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating info about group convo was edited.",
714714+ "type": "object",
715715+ "required": ["rev", "convoId", "message"],
716716+ "properties": {
717717+ "rev": {
718718+ "type": "string"
719719+ },
720720+ "convoId": {
721721+ "type": "string"
722722+ },
723723+ "message": {
724724+ "type": "ref",
725725+ "ref": "#systemMessageDataEditGroup"
726726+ }
727727+ }
728728+ },
729729+ "logCreateJoinLink": {
730730+ "description": "[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.",
731731+ "type": "object",
732732+ "required": ["rev", "convoId", "message"],
733733+ "properties": {
734734+ "rev": {
735735+ "type": "string"
736736+ },
737737+ "convoId": {
738738+ "type": "string"
739739+ },
740740+ "message": {
741741+ "type": "ref",
742742+ "ref": "#systemMessageDataCreateJoinLink"
743743+ }
744744+ }
745745+ },
746746+ "logEditJoinLink": {
747747+ "description": "[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.",
748748+ "type": "object",
749749+ "required": ["rev", "convoId", "message"],
750750+ "properties": {
751751+ "rev": {
752752+ "type": "string"
753753+ },
754754+ "convoId": {
755755+ "type": "string"
756756+ },
757757+ "message": {
758758+ "type": "ref",
759759+ "ref": "#systemMessageDataEditJoinLink"
760760+ }
761761+ }
762762+ },
763763+ "logEnableJoinLink": {
764764+ "description": "[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.",
765765+ "type": "object",
766766+ "required": ["rev", "convoId", "message"],
767767+ "properties": {
768768+ "rev": {
769769+ "type": "string"
770770+ },
771771+ "convoId": {
772772+ "type": "string"
773773+ },
774774+ "message": {
775775+ "type": "ref",
776776+ "ref": "#systemMessageDataEnableJoinLink"
777777+ }
778778+ }
779779+ },
780780+ "logDisableJoinLink": {
781781+ "description": "[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.",
782782+ "type": "object",
783783+ "required": ["rev", "convoId", "message"],
784784+ "properties": {
785785+ "rev": {
786786+ "type": "string"
787787+ },
788788+ "convoId": {
789789+ "type": "string"
790790+ },
791791+ "message": {
792792+ "type": "ref",
793793+ "ref": "#systemMessageDataDisableJoinLink"
794794+ }
795795+ }
796796+ },
797797+ "logIncomingJoinRequest": {
798798+ "description": "[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.",
799799+ "type": "object",
800800+ "required": ["rev", "convoId", "member"],
801801+ "properties": {
802802+ "rev": {
803803+ "type": "string"
804804+ },
805805+ "convoId": {
806806+ "type": "string"
807807+ },
808808+ "member": {
809809+ "description": "Prospective member who requested to join.",
810810+ "type": "ref",
811811+ "ref": "chat.bsky.actor.defs#profileViewBasic"
812812+ }
813813+ }
814814+ },
815815+ "logApproveJoinRequest": {
816816+ "description": "[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.",
817817+ "type": "object",
818818+ "required": ["rev", "convoId", "member"],
819819+ "properties": {
820820+ "rev": {
821821+ "type": "string"
822822+ },
823823+ "convoId": {
824824+ "type": "string"
825825+ },
826826+ "member": {
827827+ "description": "Prospective member who requested to join.",
828828+ "type": "ref",
829829+ "ref": "chat.bsky.actor.defs#profileViewBasic"
830830+ }
831831+ }
832832+ },
833833+ "logRejectJoinRequest": {
834834+ "description": "[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.",
835835+ "type": "object",
836836+ "required": ["rev", "convoId", "member"],
837837+ "properties": {
838838+ "rev": {
839839+ "type": "string"
840840+ },
841841+ "convoId": {
842842+ "type": "string"
843843+ },
844844+ "member": {
845845+ "description": "Prospective member who requested to join.",
846846+ "type": "ref",
847847+ "ref": "chat.bsky.actor.defs#profileViewBasic"
848848+ }
849849+ }
850850+ },
851851+ "logOutgoingJoinRequest": {
852852+ "description": "[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 viewer.",
853853+ "type": "object",
854854+ "required": ["rev", "convoId"],
855855+ "properties": {
856856+ "rev": {
857857+ "type": "string"
858858+ },
859859+ "convoId": {
860860+ "type": "string"
342861 }
343862 }
344863 }
···44 "defs": {
55 "main": {
66 "type": "procedure",
77+ "description": "Marks a message as deleted for the viewer, so they won't see that message in future enumerations.",
88+ "errors": [
99+ {
1010+ "name": "InvalidConvo"
1111+ },
1212+ {
1313+ "name": "MessageDeleteNotAllowed",
1414+ "description": "Indicates that this message cannot be deleted, e.g. because it is a system message."
1515+ }
1616+ ],
717 "input": {
818 "encoding": "application/json",
919 "schema": {
···44 "defs": {
55 "main": {
66 "type": "query",
77- "description": "Get whether the requester and the other members can chat. If an existing convo is found for these members, it is returned.",
77+ "description": "Check whether the requester and the other members can start a 1-1 chat. Only applicable to direct (non-group) conversations. If an existing convo is found for these members, it is returned. Does not create a new convo if it doesn't exist.",
88 "parameters": {
99 "type": "params",
1010 "required": ["members"],
···44 "defs": {
55 "main": {
66 "type": "procedure",
77+ "description": "Leaves a conversation (direct or group). For group, this effectively removes membership. For direct, membership is never removed, only changed to remove from enumerations by the user who left.",
88+ "errors": [
99+ {
1010+ "name": "InvalidConvo"
1111+ },
1212+ {
1313+ "name": "OwnerCannotLeave",
1414+ "description": "The owner of a group conversation cannot leave before locking the group."
1515+ }
1616+ ],
717 "input": {
818 "encoding": "application/json",
919 "schema": {
···44 "defs": {
55 "main": {
66 "type": "query",
77+ "description": "Returns a page of conversations (direct or group) for the user.",
78 "parameters": {
89 "type": "params",
910 "properties": {
···2122 "knownValues": ["unread"]
2223 },
2324 "status": {
2525+ "description": "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.",
2426 "type": "string",
2527 "knownValues": ["request", "accepted"]
2828+ },
2929+ "kind": {
3030+ "type": "string",
3131+ "description": "Filter by conversation kind.",
3232+ "knownValues": ["direct", "group"]
2633 }
2734 }
2835 },
···4242 },
4343 "errors": [
4444 {
4545+ "name": "InvalidConvo"
4646+ },
4747+ {
4848+ "name": "ReactionNotAllowed",
4949+ "description": "Indicates that reactions are not allowed on this message, e.g. because it is a system message."
5050+ },
5151+ {
4552 "name": "ReactionMessageDeleted",
4653 "description": "Indicates that the message has been deleted and reactions can no longer be added/removed."
4754 },
···44 "defs": {
55 "main": {
66 "type": "procedure",
77+ "description": "Sets conversations from a user as read to the latest message, with filters.",
78 "input": {
89 "encoding": "application/json",
910 "schema": {
···157157export * as ChatBskyConvoGetLog from './types/chat/bsky/convo/getLog.ts';
158158export * as ChatBskyConvoGetMessages from './types/chat/bsky/convo/getMessages.ts';
159159export * as ChatBskyConvoLeaveConvo from './types/chat/bsky/convo/leaveConvo.ts';
160160+export * as ChatBskyConvoListConvoRequests from './types/chat/bsky/convo/listConvoRequests.ts';
160161export * as ChatBskyConvoListConvos from './types/chat/bsky/convo/listConvos.ts';
162162+export * as ChatBskyConvoLockConvo from './types/chat/bsky/convo/lockConvo.ts';
161163export * as ChatBskyConvoMuteConvo from './types/chat/bsky/convo/muteConvo.ts';
162164export * as ChatBskyConvoRemoveReaction from './types/chat/bsky/convo/removeReaction.ts';
163165export * as ChatBskyConvoSendMessage from './types/chat/bsky/convo/sendMessage.ts';
164166export * as ChatBskyConvoSendMessageBatch from './types/chat/bsky/convo/sendMessageBatch.ts';
167167+export * as ChatBskyConvoUnlockConvo from './types/chat/bsky/convo/unlockConvo.ts';
165168export * as ChatBskyConvoUnmuteConvo from './types/chat/bsky/convo/unmuteConvo.ts';
166169export * as ChatBskyConvoUpdateAllRead from './types/chat/bsky/convo/updateAllRead.ts';
167170export * as ChatBskyConvoUpdateRead from './types/chat/bsky/convo/updateRead.ts';
171171+export * as ChatBskyGroupAddMembers from './types/chat/bsky/group/addMembers.ts';
172172+export * as ChatBskyGroupApproveJoinRequest from './types/chat/bsky/group/approveJoinRequest.ts';
173173+export * as ChatBskyGroupCreateGroup from './types/chat/bsky/group/createGroup.ts';
174174+export * as ChatBskyGroupCreateJoinLink from './types/chat/bsky/group/createJoinLink.ts';
175175+export * as ChatBskyGroupDefs from './types/chat/bsky/group/defs.ts';
176176+export * as ChatBskyGroupDisableJoinLink from './types/chat/bsky/group/disableJoinLink.ts';
177177+export * as ChatBskyGroupEditGroup from './types/chat/bsky/group/editGroup.ts';
178178+export * as ChatBskyGroupEditJoinLink from './types/chat/bsky/group/editJoinLink.ts';
179179+export * as ChatBskyGroupEnableJoinLink from './types/chat/bsky/group/enableJoinLink.ts';
180180+export * as ChatBskyGroupGetGroupPublicInfo from './types/chat/bsky/group/getGroupPublicInfo.ts';
181181+export * as ChatBskyGroupListJoinRequests from './types/chat/bsky/group/listJoinRequests.ts';
182182+export * as ChatBskyGroupRejectJoinRequest from './types/chat/bsky/group/rejectJoinRequest.ts';
183183+export * as ChatBskyGroupRemoveMembers from './types/chat/bsky/group/removeMembers.ts';
184184+export * as ChatBskyGroupRequestJoin from './types/chat/bsky/group/requestJoin.ts';
168185export * as ChatBskyModerationGetActorMetadata from './types/chat/bsky/moderation/getActorMetadata.ts';
169186export * as ChatBskyModerationGetMessageContext from './types/chat/bsky/moderation/getMessageContext.ts';
187187+export * as ChatBskyModerationSubscribeModEvents from './types/chat/bsky/moderation/subscribeModEvents.ts';
170188export * as ChatBskyModerationUpdateActorAccess from './types/chat/bsky/moderation/updateActorAccess.ts';
···66 /*#__PURE__*/ v.literal('self'),
77 /*#__PURE__*/ v.object({
88 $type: /*#__PURE__*/ v.literal('chat.bsky.actor.declaration'),
99+ /**
1010+ * [NOTE: This is under active development and should be considered unstable while this note is here]. Declaration about group chat invitation preferences for the record owner.
1111+ */
1212+ allowGroupInvites: /*#__PURE__*/ v.optional(
1313+ /*#__PURE__*/ v.string<'all' | 'following' | 'none' | (string & {})>(),
1414+ ),
915 allowIncoming: /*#__PURE__*/ v.string<'all' | 'following' | 'none' | (string & {})>(),
1016 }),
1117);