public static class TdApi.PushMessageContentMediaAlbum extends TdApi.PushMessageContent
TdApi.PushMessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hasAudios
True, if the album has at least one audio file.
|
boolean |
hasDocuments
True, if the album has at least one document.
|
boolean |
hasPhotos
True, if the album has at least one photo.
|
boolean |
hasVideos
True, if the album has at least one video.
|
int |
totalCount
Number of messages in the album.
|
Constructor and Description |
---|
PushMessageContentMediaAlbum()
A media album.
|
PushMessageContentMediaAlbum(int totalCount,
boolean hasPhotos,
boolean hasVideos,
boolean hasAudios,
boolean hasDocuments)
A media album.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int totalCount
public boolean hasPhotos
public boolean hasVideos
public boolean hasAudios
public boolean hasDocuments
public static final int CONSTRUCTOR
public PushMessageContentMediaAlbum()
public PushMessageContentMediaAlbum(int totalCount, boolean hasPhotos, boolean hasVideos, boolean hasAudios, boolean hasDocuments)
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.hasAudios
- True, if the album has at least one audio file.hasDocuments
- True, if the album has at least one document.public int getConstructor()
getConstructor
in class TdApi.PushMessageContent