invite method

Future<CtrlMessage> invite(
  1. String userId,
  2. String mode
)

Create new topic subscription. Wrapper for Tinode.setMeta

Implementation

Future<CtrlMessage> invite(String userId, String mode) {
  return setMeta(SetParams(sub: TopicSubscription(user: userId, mode: mode)));
}