SendMessageEmojiInteraction

class pyrogram.raw.types.SendMessageEmojiInteraction

User has clicked on an animated emoji triggering a reaction, click here for more info ».

Constructor of SendMessageAction.

Details:
  • Layer: 227

  • ID: 25972BCB

Parameters:
  • emoticon (str) – Emoji

  • msg_id (int 32-bit) – Message ID of the animated emoji that was clicked

  • interaction (DataJSON) – A JSON object with interaction info, click here for more info »

TL Schema

sendMessageEmojiInteraction#25972bcb
emoticon:string
msg_id:int
interaction:DataJSON

= SendMessageAction

Parameter Tree

SendMessageEmojiInteraction
├── emoticon → string
├── msg_id → int
└── interaction → DataJSON
└── DataJSON
└── data → string

Example

SendMessageEmojiInteraction(
    emoticon="text",
    msg_id=0,
    interaction=DataJSON(data="text"),
)