55 * @module
66 * Contains type declarations for Bluesky lexicons
77 * @generated
8- * Generated on: 2025-03-11T19:48:30.798Z
8+ * Generated on: 2025-03-27T03:37:21.935Z
99 * Version: main
10- * Source: https://github.com/bluesky-social/atproto/tree/18fbfa00057dda9ef4eba77d8b4e87994893c952 /lexicons
10+ * Source: https://github.com/bluesky-social/atproto/tree/620b10954af90f53e1692c3fd7451c675f1e9956 /lexicons
1111 */
1212
1313/** Base type with optional type field */
@@ -2413,14 +2413,39 @@ export declare namespace ChatBskyConvoAcceptConvo {
24132413 }
24142414}
24152415
2416+ /** Adds an emoji reaction to a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in a single reaction. */
2417+ export declare namespace ChatBskyConvoAddReaction {
2418+ interface Params extends TypedBase { }
2419+ interface Input extends TypedBase {
2420+ convoId : string ;
2421+ messageId : string ;
2422+ /**
2423+ * Minimum string length: 1
2424+ * Maximum string length: 32
2425+ * Maximum grapheme length: 1
2426+ */
2427+ value : string ;
2428+ }
2429+ interface Output extends TypedBase {
2430+ message : ChatBskyConvoDefs . MessageView ;
2431+ }
2432+ interface Errors extends TypedBase {
2433+ ReactionMessageDeleted : { } ;
2434+ ReactionLimitReached : { } ;
2435+ ReactionInvalidValue : { } ;
2436+ }
2437+ }
2438+
24162439export declare namespace ChatBskyConvoDefs {
24172440 interface ConvoView extends TypedBase {
24182441 id : string ;
24192442 members : ChatBskyActorDefs . ProfileViewBasic [ ] ;
24202443 muted : boolean ;
24212444 rev : string ;
24222445 unreadCount : number ;
2423- lastMessage ?: TypeUnion < DeletedMessageView | MessageView > ;
2446+ lastMessage ?: TypeUnion <
2447+ DeletedMessageView | MessageAndReactionView | MessageView
2448+ > ;
24242449 status ?: "accepted" | "request" | ( string & { } ) ;
24252450 }
24262451 interface DeletedMessageView extends TypedBase {
@@ -2433,6 +2458,12 @@ export declare namespace ChatBskyConvoDefs {
24332458 convoId : string ;
24342459 rev : string ;
24352460 }
2461+ interface LogAddReaction extends TypedBase {
2462+ convoId : string ;
2463+ message : TypeUnion < DeletedMessageView | MessageView > ;
2464+ reaction : ReactionView ;
2465+ rev : string ;
2466+ }
24362467 interface LogBeginConvo extends TypedBase {
24372468 convoId : string ;
24382469 rev : string ;
@@ -2460,10 +2491,20 @@ export declare namespace ChatBskyConvoDefs {
24602491 message : TypeUnion < DeletedMessageView | MessageView > ;
24612492 rev : string ;
24622493 }
2494+ interface LogRemoveReaction extends TypedBase {
2495+ convoId : string ;
2496+ message : TypeUnion < DeletedMessageView | MessageView > ;
2497+ reaction : ReactionView ;
2498+ rev : string ;
2499+ }
24632500 interface LogUnmuteConvo extends TypedBase {
24642501 convoId : string ;
24652502 rev : string ;
24662503 }
2504+ interface MessageAndReactionView extends TypedBase {
2505+ message : MessageView ;
2506+ reaction : ReactionView ;
2507+ }
24672508 interface MessageInput extends TypedBase {
24682509 /**
24692510 * Maximum string length: 10000
@@ -2492,10 +2533,19 @@ export declare namespace ChatBskyConvoDefs {
24922533 embed ?: TypeUnion < AppBskyEmbedRecord . View > ;
24932534 /** Annotations of text (mentions, URLs, hashtags, etc) */
24942535 facets ?: AppBskyRichtextFacet . Main [ ] ;
2536+ reactions ?: ReactionView [ ] ;
24952537 }
24962538 interface MessageViewSender extends TypedBase {
24972539 did : At . DID ;
24982540 }
2541+ interface ReactionView extends TypedBase {
2542+ createdAt : string ;
2543+ sender : ReactionViewSender ;
2544+ value : string ;
2545+ }
2546+ interface ReactionViewSender extends TypedBase {
2547+ did : At . DID ;
2548+ }
24992549}
25002550
25012551export declare namespace ChatBskyConvoDeleteMessageForSelf {
@@ -2555,10 +2605,15 @@ export declare namespace ChatBskyConvoGetLog {
25552605 interface Output extends TypedBase {
25562606 logs : TypeUnion <
25572607 | ChatBskyConvoDefs . LogAcceptConvo
2608+ | ChatBskyConvoDefs . LogAddReaction
25582609 | ChatBskyConvoDefs . LogBeginConvo
25592610 | ChatBskyConvoDefs . LogCreateMessage
25602611 | ChatBskyConvoDefs . LogDeleteMessage
25612612 | ChatBskyConvoDefs . LogLeaveConvo
2613+ | ChatBskyConvoDefs . LogMuteConvo
2614+ | ChatBskyConvoDefs . LogReadMessage
2615+ | ChatBskyConvoDefs . LogRemoveReaction
2616+ | ChatBskyConvoDefs . LogUnmuteConvo
25622617 > [ ] ;
25632618 cursor ?: string ;
25642619 }
@@ -2624,6 +2679,28 @@ export declare namespace ChatBskyConvoMuteConvo {
26242679 }
26252680}
26262681
2682+ /** Removes an emoji reaction from a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in that reaction not being present, even if it already wasn't. */
2683+ export declare namespace ChatBskyConvoRemoveReaction {
2684+ interface Params extends TypedBase { }
2685+ interface Input extends TypedBase {
2686+ convoId : string ;
2687+ messageId : string ;
2688+ /**
2689+ * Minimum string length: 1
2690+ * Maximum string length: 32
2691+ * Maximum grapheme length: 1
2692+ */
2693+ value : string ;
2694+ }
2695+ interface Output extends TypedBase {
2696+ message : ChatBskyConvoDefs . MessageView ;
2697+ }
2698+ interface Errors extends TypedBase {
2699+ ReactionMessageDeleted : { } ;
2700+ ReactionInvalidValue : { } ;
2701+ }
2702+ }
2703+
26272704export declare namespace ChatBskyConvoSendMessage {
26282705 interface Params extends TypedBase { }
26292706 interface Input extends TypedBase {
@@ -5995,6 +6072,10 @@ export declare interface Procedures {
59956072 input : ChatBskyConvoAcceptConvo . Input ;
59966073 output : ChatBskyConvoAcceptConvo . Output ;
59976074 } ;
6075+ "chat.bsky.convo.addReaction" : {
6076+ input : ChatBskyConvoAddReaction . Input ;
6077+ output : ChatBskyConvoAddReaction . Output ;
6078+ } ;
59986079 "chat.bsky.convo.deleteMessageForSelf" : {
59996080 input : ChatBskyConvoDeleteMessageForSelf . Input ;
60006081 output : ChatBskyConvoDeleteMessageForSelf . Output ;
@@ -6007,6 +6088,10 @@ export declare interface Procedures {
60076088 input : ChatBskyConvoMuteConvo . Input ;
60086089 output : ChatBskyConvoMuteConvo . Output ;
60096090 } ;
6091+ "chat.bsky.convo.removeReaction" : {
6092+ input : ChatBskyConvoRemoveReaction . Input ;
6093+ output : ChatBskyConvoRemoveReaction . Output ;
6094+ } ;
60106095 "chat.bsky.convo.sendMessage" : {
60116096 input : ChatBskyConvoSendMessage . Input ;
60126097 output : ChatBskyConvoSendMessage . Output ;
0 commit comments