4
31
Fork
You've already forked simplematrixbotlib
21

Reaction to messages #62

Open
opened 2024年04月25日 22:24:12 +02:00 by Dreamsorcerer · 3 comments
Contributor
Copy link

Is your feature request related to a problem? Please describe.
A common task for a bot would be to respond to a user message with a reaction to acknowledge that it is working on a task or has completed a task etc.

Describe the solution you'd like
A new API for sending a reaction:

async def on_message(self, room: MatrixRoom, message: RoomMessage) -> None:
 await self._bot.api.send_reaction(message, ":+1:")
**Is your feature request related to a problem? Please describe.** A common task for a bot would be to respond to a user message with a reaction to acknowledge that it is working on a task or has completed a task etc. **Describe the solution you'd like** A new API for sending a reaction: ``` async def on_message(self, room: MatrixRoom, message: RoomMessage) -> None: await self._bot.api.send_reaction(message, ":+1:") ```
Owner
Copy link

This will be added in the upcoming v3

This will be added in the upcoming v3
Contributor
Copy link

Fixed by #26

Fixed by #26
Owner
Copy link

This was released in v2.12.0, but I'll keep the issue open for v3.

This was released in v2.12.0, but I'll keep the issue open for v3.
Sign in to join this conversation.
No Branch/Tag specified
master
v3
send_reaction
v2.13.1
v2.13.0
v2.12.2
v2.12.1
v2.12.0
v2.11.0
v2.10.3
v2.10.2
v2.10.1
v2.10.0
v2.9.1
v2.9.0
v2.7.4
v2.7.3
v2.7.2
v2.7.0
v2.6.4
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v1.6.0
v2.5.1
v2.5.0
v2.4.1
v2.4.0
v2.3.0
v2.2.0
v2.1.0
v2.0.0
v1.6.1
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.0
v1.3.3
v1.3.1
v1.3.0
v1.2.0
v1.3.2
v1.0.1
v1.0.0
v1.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
imbev/simplematrixbotlib#62
Reference in a new issue
imbev/simplematrixbotlib
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?