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
Identifier uniquely determining type of the object.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
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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 CONSTRUCTORIdentifier uniquely determining type of the object.- 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
- Media width; 0 if unknown.height
- Media height; 0 if unknown.duration
- Media duration; 0 if unknown.minithumbnail
- Media minithumbnail; may be null.caption
- Media caption.
-
MessageExtendedMediaPreview
The media is hidden until the invoice is paid.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-