Add JSON-RPC API to get reactions

This commit is contained in:
link2xt
2023-05-05 17:17:56 +00:00
parent 24fe1b9c15
commit 6af631e8df
4 changed files with 30 additions and 2 deletions

View File

@@ -239,6 +239,10 @@ async def test_message(acfactory) -> None:
await message.mark_seen()
await message.send_reaction("😎")
reactions = await message.get_reactions()
assert reactions
snapshot = await message.get_snapshot()
assert reactions == snapshot.reactions
@pytest.mark.asyncio()