Package org.drinkless.tdlib
Class TdApi.PaidMediaPreview
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PaidMedia
org.drinkless.tdlib.TdApi.PaidMediaPreview
- Enclosing class:
- TdApi
The media is hidden until the invoice is paid.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intMedia duration, in seconds; 0 if unknown.intMedia height; 0 if unknown.Media minithumbnail; may be null.intMedia width; 0 if unknown. -
Constructor Summary
ConstructorsConstructorDescriptionThe media is hidden until the invoice is paid.PaidMediaPreview(int width, int height, int duration, TdApi.Minithumbnail minithumbnail) The media is hidden until the invoice is paid. -
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
-
width
public int widthMedia width; 0 if unknown. -
height
public int heightMedia height; 0 if unknown. -
duration
public int durationMedia duration, in seconds; 0 if unknown. -
minithumbnail
Media minithumbnail; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PaidMediaPreview
public PaidMediaPreview()The media is hidden until the invoice is paid. -
PaidMediaPreview
The media is hidden until the invoice is paid.- Parameters:
width- Media width; 0 if unknown.height- Media height; 0 if unknown.duration- Media duration, in seconds; 0 if unknown.minithumbnail- Media minithumbnail; may be null.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-