Class TdApi.PollMediaLink

Enclosing class:
TdApi

public static class TdApi.PollMediaLink extends TdApi.PollMedia
A link.
  • Field Details

    • url

      public String url
      URL of the link.
    • linkPreview

      public TdApi.LinkPreview linkPreview
      Preview of the link; may be null if unknown.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • PollMediaLink

      public PollMediaLink()
      A link.
    • PollMediaLink

      public PollMediaLink(String url, TdApi.LinkPreview linkPreview)
      A link.
      Parameters:
      url - URL of the link.
      linkPreview - Preview of the link; may be null if unknown.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR