Class TdApi.PollMediaPhoto

Enclosing class:
TdApi

public static class TdApi.PollMediaPhoto extends TdApi.PollMedia
A photo.
  • Field Details

    • photo

      public TdApi.Photo photo
      The photo.
    • video

      public TdApi.Video video
      The video representing the live photo; may be null if the photo is static.
    • CONSTRUCTOR

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

    • PollMediaPhoto

      public PollMediaPhoto()
      A photo.
    • PollMediaPhoto

      public PollMediaPhoto(TdApi.Photo photo, TdApi.Video video)
      A photo.
      Parameters:
      photo - The photo.
      video - The video representing the live photo; may be null if the photo is static.
  • 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