Skip to content

MessageReaction

Type · TDLib 1.8.67 · d1085f9c

Contains information about a reaction to a message

MessageReaction(
  type: ReactionType,
  total_count: int32,
  is_chosen: Bool,
  used_sender_id: MessageSender,
  recent_sender_ids: list of MessageSender
) → MessageReaction

type

ReactionType

Type of the reaction

total_count

int32

Number of times the reaction was added

is_chosen

Bool

True, if the reaction is chosen by the current user

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

recent_sender_ids

list of MessageSender

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