java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageExtendedMedia
it.tdlight.jni.TdApi.MessageExtendedMediaPreview
- Enclosing class:
- TdApi
The media is hidden until the invoice is paid.
-
Field Summary
Modifier and TypeFieldDescriptionMedia caption.static final int
int
Media duration; 0 if unknown.int
Media height; 0 if unknown.Media minithumbnail; may be null.int
Media width; 0 if unknown. -
Constructor Summary
ConstructorDescriptionThe media is hidden until the invoice is paid.MessageExtendedMediaPreview
(int width, int height, int duration, TdApi.Minithumbnail minithumbnail, TdApi.FormattedText caption) The media is hidden until the invoice is paid.The media is hidden until the invoice is paid. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
width
public int widthMedia width; 0 if unknown. -
height
public int heightMedia height; 0 if unknown. -
duration
public int durationMedia duration; 0 if unknown. -
minithumbnail
Media minithumbnail; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
MessageExtendedMediaPreview
public MessageExtendedMediaPreview()The media is hidden until the invoice is paid. -
MessageExtendedMediaPreview
public MessageExtendedMediaPreview(int width, int height, int duration, TdApi.Minithumbnail minithumbnail, TdApi.FormattedText caption) The media is hidden until the invoice is paid.- Parameters:
width
- int Media width; 0 if unknown.height
- int Media height; 0 if unknown.duration
- int Media duration; 0 if unknown.minithumbnail
- Minithumbnail Media minithumbnail; may be null.caption
- FormattedText Media caption.
-
MessageExtendedMediaPreview
The media is hidden until the invoice is paid.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-