πŸ˜„ React

πŸ˜„ React

Added on version 23.1.0b1
react(self, reaction: Reaction, target_user_id: str) -> None: Makes the bot send a reaction to a user in the room. Here are all possible reactions:
* 'clap' * 'heart' * 'thumbs' * 'wave' * 'wink'

βš™οΈ Use cases

This method takes a string with the reaction name and a target user ID.
async def on_chat(self, user: User, message: str) -> None: if message.startswith("react"): await self.highrise.react("wave", user.id)
In this case the bot will send the user who says β€œreact” a wave reaction.
notion image

Β 
Built with Potion.so