refresh static method
Refreshes an OpenChannel with given channelUrl
Implementation
static Future<OpenChannel> refresh(String channelUrl) async {
final sdk = SendbirdSdk().getInternal();
final channel = await sdk.api.send<OpenChannel>(
OpenChannelRefreshRequest(
channelUrl: channelUrl,
options: [ChannelQueryIncludeOption.metaData],
passive: false,
),
);
return channel;
}