messages.SendReaction#

class pyrogram.raw.functions.messages.SendReaction#

React to message. Starting from layer 159, the reaction will be sent from the peer specified using messages.saveDefaultSendAs.

Details:
  • Layer: 224

  • ID: D30D78D4

Parameters:
  • peer (InputPeer) – Peer

  • msg_id (int 32-bit) – Message ID to react to

  • big (bool, optional) – Whether a bigger and longer reaction should be shown

  • add_to_recent (bool, optional) – Whether to add this reaction to the recent reactions list ».

  • reaction (List of Reaction, optional) – A list of reactions (doesn’t accept reactionPaid constructors, use messages.sendPaidReaction to send paid reactions, instead).

Returns:

Updates