Class: TD::Types::PushMessageContent::MediaAlbum

Inherits:
TD::Types::PushMessageContent show all
Defined in:
lib/tdlib/types/push_message_content/media_album.rb

Overview

A media album.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#has_photosBoolean

True, if the album has at least one photo.

Returns:

  • (Boolean)

    the current value of has_photos



7
8
9
# File 'lib/tdlib/types/push_message_content/media_album.rb', line 7

def has_photos
  @has_photos
end

#has_videosBoolean

True, if the album has at least one video.

Returns:

  • (Boolean)

    the current value of has_videos



7
8
9
# File 'lib/tdlib/types/push_message_content/media_album.rb', line 7

def has_videos
  @has_videos
end

#total_countInteger

Number of messages in the album.

Returns:

  • (Integer)

    the current value of total_count



7
8
9
# File 'lib/tdlib/types/push_message_content/media_album.rb', line 7

def total_count
  @total_count
end