joinChannel method

Future<Channel> joinChannel({
  1. required String target,
  2. required ChannelJoin_Type type,
  3. required bool persistence,
  4. required bool hidden,
})

Implementation

Future<rtpb.Channel> joinChannel({
  required String target,
  required rtpb.ChannelJoin_Type type,
  required bool persistence,
  required bool hidden,
}) =>
    _send<rtpb.Channel>(rtpb.Envelope(
        channelJoin: rtpb.ChannelJoin(
      target: target,
      type: type.value,
      persistence: BoolValue(value: persistence),
      hidden: BoolValue(value: hidden),
    )));