Sha256: 12cd3e9177609d07c5da691b5340989b68f21b352e337dd116eac17ea724a417

Contents?: true

Size: 715 Bytes

Versions: 2

Compression:

Stored size: 715 Bytes

Contents

module TD::Types
  # A media album.
  #
  # @attr total_count [Integer] Number of messages in the album.
  # @attr has_photos [Boolean] True, if the album has at least one photo.
  # @attr has_videos [Boolean] True, if the album has at least one video.
  # @attr has_audios [Boolean] True, if the album has at least one audio file.
  # @attr has_documents [Boolean] True, if the album has at least one document.
  class PushMessageContent::MediaAlbum < PushMessageContent
    attribute :total_count, TD::Types::Coercible::Integer
    attribute :has_photos, TD::Types::Bool
    attribute :has_videos, TD::Types::Bool
    attribute :has_audios, TD::Types::Bool
    attribute :has_documents, TD::Types::Bool
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/push_message_content/media_album.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/push_message_content/media_album.rb