TPChannel? channel = await TalkPlusAPI.joinChannel(
channelId,
errorCallback: (errorCode, errorMessage){}
);
2. Join InvitationOnly Channel
TPChannel? channel = await TalkPlusAPI.joinChannelInvitation(
channelId,
invitationCode,
errorCallback: (errorCode, errorMessage){}
);
await TalkPlusAPI.leaveChannel(
tpChannel,
deleteChannelIfEmpty,
errorCallback: (errorCode, errorMessage){}
);