πŸŽ™οΈ Get_voice_status

πŸŽ™οΈ Get_voice_status

Added on version 23.1.0b11
get_voice_status(self,) -> CheckVoiceChatRequest.CheckVoiceChatResponse | Error:
Fetch the voice status for the room.
Support for voice chat management and info, bots can now get information about voice chat in the room if bot owner has privileges to get info or manage bots in the room

βš™οΈ Use cases

A simple usage can be done using a on_chat command to print the voice status in the console:
async def on_chat(self, user: User, message: str) -> None: if message.lower().startswith("/status"): voice_status = await self.highrise.get_voice_status() print (voice_status)
notion image
Response:
Error(message='The room is not voice enabled.', rid='0')
Built with Potion.so