getGroupMemberRole method

  1. @override
Future<Map<String, dynamic>> getGroupMemberRole(
  1. String topic,
  2. String inboxId
)
override

Implementation

@override
Future<Map<String, dynamic>> getGroupMemberRole(
    String topic, String inboxId) async {
  await _ensureInitialized();
  final role = await rust_groups.getGroupMemberRole(
      topic: topic, inboxId: inboxId);
  return {
    'isAdmin': role.isAdmin,
    'isSuperAdmin': role.isSuperAdmin,
  };
}