Package org.drinkless.tdlib
Class TdApi.InputPaidMediaTypePhoto
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputPaidMediaType
org.drinkless.tdlib.TdApi.InputPaidMediaTypePhoto
- Enclosing class:
TdApi
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.InputPaidMediaType
TdApi.InputPaidMediaType.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Video of the live photo; pass null if the photo isn't a live photo. -
Constructor Summary
ConstructorsConstructorDescriptionThe media is a photo.The media is a photo. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
video
Video of the live photo; pass null if the photo isn't a live photo. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.InputPaidMediaType- Returns:
- this.CONSTRUCTOR
-