Class: TD::Types::PushMessageContent::MediaAlbum
- Inherits:
-
TD::Types::PushMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::PushMessageContent
- TD::Types::PushMessageContent::MediaAlbum
- Defined in:
- lib/tdlib/types/push_message_content/media_album.rb
Overview
A media album.
Instance Attribute Summary collapse
-
#has_audios ⇒ Boolean
True, if the album has at least one audio file.
-
#has_documents ⇒ Boolean
True, if the album has at least one document.
-
#has_photos ⇒ Boolean
True, if the album has at least one photo.
-
#has_videos ⇒ Boolean
True, if the album has at least one video.
-
#total_count ⇒ Integer
Number of messages in the album.
Method Summary
Methods inherited from Base
Instance Attribute Details
#has_audios ⇒ Boolean
True, if the album has at least one audio file.
9 10 11 |
# File 'lib/tdlib/types/push_message_content/media_album.rb', line 9 def has_audios @has_audios end |
#has_documents ⇒ Boolean
True, if the album has at least one document.
9 10 11 |
# File 'lib/tdlib/types/push_message_content/media_album.rb', line 9 def has_documents @has_documents end |
#has_photos ⇒ Boolean
True, if the album has at least one photo.
9 10 11 |
# File 'lib/tdlib/types/push_message_content/media_album.rb', line 9 def has_photos @has_photos end |
#has_videos ⇒ Boolean
True, if the album has at least one video.
9 10 11 |
# File 'lib/tdlib/types/push_message_content/media_album.rb', line 9 def has_videos @has_videos end |
#total_count ⇒ Integer
Number of messages in the album.
9 10 11 |
# File 'lib/tdlib/types/push_message_content/media_album.rb', line 9 def total_count @total_count end |