Module tdlight.api

Class TdApi.InternalLinkTypeInstantView

Enclosing class:
TdApi

public static final class TdApi.InternalLinkTypeInstantView extends TdApi.InternalLinkType
The link must be opened in an Instant View. Call getWebPageInstantView with the given URL to process the link.
  • Field Details

    • url

      public String url
      URL to be passed to getWebPageInstantView.
    • fallbackUrl

      public String fallbackUrl
      An URL to open if getWebPageInstantView fails.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • InternalLinkTypeInstantView

      public InternalLinkTypeInstantView()
      The link must be opened in an Instant View. Call getWebPageInstantView with the given URL to process the link.
    • InternalLinkTypeInstantView

      public InternalLinkTypeInstantView(String url, String fallbackUrl)
      The link must be opened in an Instant View. Call getWebPageInstantView with the given URL to process the link.
      Parameters:
      url - String URL to be passed to getWebPageInstantView.
      fallbackUrl - String An URL to open if getWebPageInstantView fails.
    • InternalLinkTypeInstantView

      public InternalLinkTypeInstantView(DataInput input) throws IOException
      The link must be opened in an Instant View. Call getWebPageInstantView with the given URL to process the link.
      Throws:
      IOException
  • Method Details