GetInternalLink constructor
const
GetInternalLink({
- required InternalLinkType type,
- required bool isHttp,
GetInternalLink (getInternalLink) - TDLib function
Returns an HTTPS or a tg: link with the given type. Can be called before authorization.
- type: Expected type of the link.
- isHttp: Pass true to create an HTTPS link (only available for some link types); pass false to create a tg: link.
HttpUrl is returned on completion.
Implementation
const GetInternalLink({
required this.type,
required this.isHttp,
});