addReaction
Thả cảm xúc tin nhắn
api.addReaction(icon, dest)
Parameters
icon
Reactions|CustomReactiondest
AddReactionDestination
Return
Promise<AddReactionResponse>
Types
export type AddReactionResponse = {
msgIds: number[];
};
export type CustomReaction = {
rType: number;
source: number;
icon: string;
};
export type AddReactionDestination = {
data: {
msgId: string;
cliMsgId: string;
};
threadId: string;
type: ThreadType;
};Examples
Thả cảm xúc vào tin nhắn
Related
Last updated