Story.react()ΒΆ

async Story.react()[source]ΒΆ

Bound method react of Story.

Use as a shortcut for:

await client.send_reaction(
    chat_id=story.chat.id,
    story_id=story.id,
    emoji="πŸ”₯"
)

Example

await story.react(emoji="πŸ”₯")
Parameters:

emoji (int | str, optional) – Reaction emoji. Pass None as emoji (default) to retract the reaction.

Returns:

bool – On success, True is returned.

Raises:

RPCError – In case of a Telegram RPC error.