import 'package:matrix/matrix.dart'; /// Raumtyp der Pyramid-Sprachkanäle (creation_content.type). const voiceChannelRoomType = 'io.pyramid.voice_channel'; /// Ist [room] ein Sprachkanal (statt eines Text-Chats)? bool isVoiceChannelRoom(Room room) => room.getState(EventTypes.RoomCreate)?.content['type'] == voiceChannelRoomType;