- getReactions(
msgId: string,
): Promise<
{
reactionByMe: {
id: MsgKey;
msgId: MsgKey;
orphan: number;
reactionText: string;
read: boolean;
senderUserJid: string;
timestamp: number;
};
reactions: {
aggregateEmoji: string;
hasReactionByMe: boolean;
senders: {
id: MsgKey;
msgId: MsgKey;
orphan: number;
reactionText: string;
read: boolean;
senderUserJid: string;
timestamp: number;
}[];
}[];
},
> Returns Promise<
{
reactionByMe: {
id: MsgKey;
msgId: MsgKey;
orphan: number;
reactionText: string;
read: boolean;
senderUserJid: string;
timestamp: number;
};
reactions: {
aggregateEmoji: string;
hasReactionByMe: boolean;
senders: {
id: MsgKey;
msgId: MsgKey;
orphan: number;
reactionText: string;
read: boolean;
senderUserJid: string;
timestamp: number;
}[];
}[];
},
>
Get all reactions in a message