updateGroupLink method

Future<void> updateGroupLink(
  1. ChatId groupId,
  2. DirectLinkSlug? slug
)

Creates, updates or disables the current DirectLink of the specified Chat-group.

Implementation

Future<void> updateGroupLink(ChatId groupId, DirectLinkSlug? slug) async {
  Log.debug('updateGroupLink($groupId, $slug)', '$runtimeType');
  return await _linkRepository.updateGroupLink(groupId, slug);
}