public static class TdApi.PushMessageContentMediaAlbum extends TdApi.PushMessageContent
| 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 file.
|
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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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 file.hasAudios - True, if the album has at least one audio file.hasDocuments - True, if the album has at least one document.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object