Skip to content

getInternalLink

Function · TDLib 1.8.67 · d1085f9c

Returns an HTTPS or a tg: link with the given type. Can be called before authorization

getInternalLink(
  type: InternalLinkType,
  is_http: Bool
) → HttpUrl

type

InternalLinkType

Expected type of the link

is_http

Bool

Pass true to create an HTTPS link (only available for some link types); pass false to create a tg: link