Interface MessageReaction

Contains information about a reaction to a message.

interface MessageReaction {
    @type: "messageReaction";
    is_chosen?: boolean;
    recent_sender_ids: MessageSender[];
    total_count: number;
    type: ReactionType;
    used_sender_id: MessageSender;
}

Properties

@type: "messageReaction"
is_chosen?: boolean

True, if the reaction is chosen by the current user.

recent_sender_ids: MessageSender[]

Identifiers of at most 3 recent message senders, added the reaction; available in private, basic group and supergroup chats.

total_count: number

Number of times the reaction was added.

Type of the reaction.

used_sender_id: MessageSender

Identifier of the message sender used by the current user to add the reaction; may be null if unknown or the reaction isn't chosen.