We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
MessageResponse
1 parent 63facdd commit 0d5f87fCopy full SHA for 0d5f87f
src/types.ts
@@ -627,6 +627,7 @@ export type MessageResponse<
627
export type MessageResponseBase<
628
StreamChatGenerics extends ExtendableGenerics = DefaultGenerics
629
> = MessageBase<StreamChatGenerics> & {
630
+ reaction_groups: Record<string, ReactionGroupResponse>;
631
type: MessageLabel;
632
args?: string;
633
before_message_send_failed?: boolean;
@@ -658,6 +659,13 @@ export type MessageResponseBase<
658
659
updated_at?: string;
660
};
661
662
+export type ReactionGroupResponse = {
663
+ count: number;
664
+ sum_scores: number;
665
+ first_reaction_at?: string;
666
+ last_reaction_at?: string;
667
+};
668
+
669
export type ModerationDetailsResponse = {
670
action: 'MESSAGE_RESPONSE_ACTION_BOUNCE' | (string & {});
671
error_msg: string;
0 commit comments