Module tdlight.api

Class TdApi.PushMessageContentMediaAlbum

Enclosing class:
TdApi

public static final class TdApi.PushMessageContentMediaAlbum extends TdApi.PushMessageContent
A media album.
  • Field Details

    • 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 file.
    • 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
      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 - int Number of messages in the album.
      hasPhotos - boolean True, if the album has at least one photo.
      hasVideos - boolean True, if the album has at least one video file.
      hasAudios - boolean True, if the album has at least one audio file.
      hasDocuments - boolean True, if the album has at least one document.
    • PushMessageContentMediaAlbum

      public PushMessageContentMediaAlbum(DataInput input) throws IOException
      A media album.
      Throws:
      IOException
  • Method Details