refreshChannel static method
Refreshes this channel instance
Implementation
static Future<BaseChannel> refreshChannel(
ChannelType channelType,
String channelUrl,
) async {
if (channelType == ChannelType.group) {
return GroupChannel.refresh(channelUrl);
} else {
return OpenChannel.refresh(channelUrl);
}
}