Class TdApi.InputPaidMediaTypePhoto

Enclosing class:
TdApi

public static class TdApi.InputPaidMediaTypePhoto extends TdApi.InputPaidMediaType
The media is a photo. The photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.
  • Field Details

    • video

      public TdApi.InputFile video
      Video of the live photo; pass null if the photo isn't a live photo.
    • CONSTRUCTOR

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

    • InputPaidMediaTypePhoto

      public InputPaidMediaTypePhoto()
      The media is a photo. The photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.
    • InputPaidMediaTypePhoto

      public InputPaidMediaTypePhoto(TdApi.InputFile video)
      The media is a photo. The photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.
      Parameters:
      video - Video of the live photo; pass null if the photo isn't a live photo.
  • Method Details