GetExternalLinkInfo constructor

const GetExternalLinkInfo({
  1. required String link,
})

Returns information about an action to be done when the current user clicks an external link. Don't use this method for links from secret chats if link preview is disabled in secret chats, and use directly getLinkWebBrowserType

Implementation

const GetExternalLinkInfo({required this.link});