refresh static method

Future<GroupChannel> refresh(
  1. String channelUrl
)

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,
    ),
  );
}