comparison libervia/web/server/restricted_bridge.py @ 1576:c7d15ded4cbb

server (restricted_bridge): add `message_reactions_set` method.
author Goffi <goffi@goffi.org>
date Wed, 22 Nov 2023 16:31:36 +0100
parents e47c24204449
children fe1995d0df09
comparison
equal deleted inserted replaced
1575:9e3f7bf55749 1576:c7d15ded4cbb
98 "identities_get", entities, metadata_filter, profile) 98 "identities_get", entities, metadata_filter, profile)
99 99
100 async def identities_base_get(self, profile): 100 async def identities_base_get(self, profile):
101 return await self.host.bridge_call( 101 return await self.host.bridge_call(
102 "identities_base_get", profile) 102 "identities_base_get", profile)
103
104 async def message_reactions_set(
105 self, message_id: str, reactions: list[str], update_type: str, profile: str
106 ) -> None:
107 return await self.host.bridge_call(
108 "message_reactions_set", message_id, reactions, update_type, profile
109 )
103 110
104 async def message_send( 111 async def message_send(
105 self, to_jid_s, message, subject, mess_type, extra_s, 112 self, to_jid_s, message, subject, mess_type, extra_s,
106 profile 113 profile
107 ): 114 ):