followUsers method

Future<List<UserPresence>> followUsers({
  1. List<String>? userIds,
  2. List<String>? usernames,
})

Implementation

Future<List<UserPresence>> followUsers({
  List<String>? userIds,
  List<String>? usernames,
}) async {
  final res = await _send<rtpb.Status>(rtpb.Envelope(
      statusFollow: rtpb.StatusFollow(
    userIds: userIds,
    usernames: usernames,
  )));

  return res.presences.map(UserPresence.fromDto).toList();
}