public class VideoNote extends java.lang.Object implements TelegramObject
| Constructor and Description |
|---|
VideoNote(java.lang.String id,
int length,
int duration) |
VideoNote(java.lang.String id,
int length,
int duration,
PhotoSize thumbnail,
java.lang.Integer size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getDuration()
Getter for property
duration. |
java.lang.String |
getId()
Getter for property
id. |
int |
getLength()
Getter for property
length. |
java.util.OptionalInt |
getSize()
Getter for property
size. |
java.util.Optional<PhotoSize> |
getThumbnail()
Getter for property
thumbnail. |
int |
hashCode() |
public VideoNote(java.lang.String id,
int length,
int duration,
PhotoSize thumbnail,
java.lang.Integer size)
public VideoNote(java.lang.String id,
int length,
int duration)
public int getDuration()
duration.durationpublic java.util.Optional<PhotoSize> getThumbnail()
thumbnail.thumbnailpublic java.util.OptionalInt getSize()
size.sizepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object