Class TdApi.PushMessageContentMediaAlbum

    • Field Detail

      • totalCount

        public int totalCount
        Number of messages in the album.
      • hasPhotos

        public boolean hasPhotos
        True, if the album has at least one photo.
      • hasVideos

        public boolean hasVideos
        True, if the album has at least one video.
      • hasAudios

        public boolean hasAudios
        True, if the album has at least one audio file.
      • hasDocuments

        public boolean hasDocuments
        True, if the album has at least one document.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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.
        hasAudios - True, if the album has at least one audio file.
        hasDocuments - True, if the album has at least one document.