React to a story.
Method schema is available as of layer 164. Switch »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| add_to_recent | flags.0?true | Whether to add this reaction to the recent reactions list ». |
| peer | InputPeer | The peer that sent the story |
| story_id | int | ID of the story to react to |
| reaction | Reaction | Reaction |
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
| 400 | REACTION_INVALID | The specified reaction is invalid. |
| 400 | STORY_ID_EMPTY | You specified no story IDs. |
| 400 | STORY_ID_INVALID | The specified story ID is invalid. |
Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.