Class TdApi.LinkPreviewTypeEmbeddedAnimationPlayer

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewType
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewTypeEmbeddedAnimationPlayer
Enclosing class:
TdApi

public static class TdApi.LinkPreviewTypeEmbeddedAnimationPlayer extends TdApi.LinkPreviewType
The link is a link to an animation player.
  • Field Details

    • url

      public String url
      URL of the external animation player.
    • thumbnail

      public TdApi.Photo thumbnail
      Thumbnail of the animation; may be null if unknown.
    • duration

      public int duration
      Duration of the animation, in seconds.
    • author

      public String author
      Author of the animation.
    • width

      public int width
      Expected width of the embedded player.
    • height

      public int height
      Expected height of the embedded player.
    • CONSTRUCTOR

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

    • LinkPreviewTypeEmbeddedAnimationPlayer

      public LinkPreviewTypeEmbeddedAnimationPlayer()
      The link is a link to an animation player.
    • LinkPreviewTypeEmbeddedAnimationPlayer

      public LinkPreviewTypeEmbeddedAnimationPlayer(String url, TdApi.Photo thumbnail, int duration, String author, int width, int height)
      The link is a link to an animation player.
      Parameters:
      url - URL of the external animation player.
      thumbnail - Thumbnail of the animation; may be null if unknown.
      duration - Duration of the animation, in seconds.
      author - Author of the animation.
      width - Expected width of the embedded player.
      height - Expected height of the embedded player.
  • 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