Story.react()#

Story.react()#

Bound method react of Story.

Use as a shortcut for:

await client.send_reaction(
    chat_id=self.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.