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