createChatDirectLink method

Future<void> createChatDirectLink(
  1. DirectLinkSlug slug
)

Creates a new DirectLink with the specified DirectLinkSlug and disables the current active DirectLink of the given Chat-group (if any).

Implementation

Future<void> createChatDirectLink(DirectLinkSlug slug) async {
  await _linkService.updateGroupLink(chatId, slug);
}