Package org.drinkless.tdlib
Class TdApi.PushMessageContentMediaAlbum
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PushMessageContent
org.drinkless.tdlib.TdApi.PushMessageContentMediaAlbum
- Enclosing class:
- TdApi
A media album.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanTrue, if the album has at least one audio file.booleanTrue, if the album has at least one document.booleanTrue, if the album has at least one photo.booleanTrue, if the album has at least one video file.intNumber of messages in the album. -
Constructor Summary
ConstructorsConstructorDescriptionA media album.PushMessageContentMediaAlbum(int totalCount, boolean hasPhotos, boolean hasVideos, boolean hasAudios, boolean hasDocuments) A media album. -
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
-
totalCount
public int totalCountNumber of messages in the album. -
hasPhotos
public boolean hasPhotosTrue, if the album has at least one photo. -
hasVideos
public boolean hasVideosTrue, if the album has at least one video file. -
hasAudios
public boolean hasAudiosTrue, if the album has at least one audio file. -
hasDocuments
public boolean hasDocumentsTrue, if the album has at least one document. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PushMessageContentMediaAlbum
public PushMessageContentMediaAlbum()A media album. -
PushMessageContentMediaAlbum
public PushMessageContentMediaAlbum(int totalCount, boolean hasPhotos, boolean hasVideos, boolean hasAudios, boolean hasDocuments) A media album.- Parameters:
totalCount- Number of messages in the album.hasPhotos- True, if the album has at least one photo.hasVideos- True, if the album has at least one video file.hasAudios- True, if the album has at least one audio file.hasDocuments- True, if the album has at least one document.
-
-
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
-