Skip to content

feat: add reason parameter to Message.delete()#80

Merged
PenguinBoi12 merged 2 commits into
Code-Society-Lab:mainfrom
ishita-0301:feature/message-delete-reason
Jul 2, 2026
Merged

feat: add reason parameter to Message.delete()#80
PenguinBoi12 merged 2 commits into
Code-Society-Lab:mainfrom
ishita-0301:feature/message-delete-reason

Conversation

@ishita-0301

Copy link
Copy Markdown
Contributor

Closes #76

Added optional
eason\ parameter to \Message.delete(). Passes it through to \client.room_redact()\ which already supports it. Includes updated and new unit tests.

@PenguinBoi12 PenguinBoi12 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🦭

@PenguinBoi12 PenguinBoi12 merged commit 4fbcb00 into Code-Society-Lab:main Jul 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Message: Add reason parameter to delete

2 participants