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_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_photos ⇒ Boolean
True, if the album has at least one photo.
7 8 9 |
# File 'lib/tdlib/types/push_message_content/media_album.rb', line 7 def has_photos @has_photos end |
#has_videos ⇒ Boolean
True, if the album has at least one video.
7 8 9 |
# File 'lib/tdlib/types/push_message_content/media_album.rb', line 7 def has_videos @has_videos end |
#total_count ⇒ Integer
Number of messages in the album.
7 8 9 |
# File 'lib/tdlib/types/push_message_content/media_album.rb', line 7 def total_count @total_count end |