channelJoinAllSiteFuture method

Future<MessageOrError> channelJoinAllSiteFuture(
  1. String channel
)

Return: Message

Implementation

Future<MessageOrError> channelJoinAllSiteFuture(String channel) async {
  final res = await ZeroNet.instance.cmdFuture(
    ZeroNetCmd.channelJoinAllsite,
    params: {
      'channel': channel,
    },
  );
  return res.toMsgOrErr;
}