Class: Telegram::Bot::Types::ChatPhoto

Inherits:
Object
  • Object
show all
Defined in:
lib/telegram/bot/types/chat_photo.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ ChatPhoto

Returns a new instance of ChatPhoto.



6
7
8
# File 'lib/telegram/bot/types/chat_photo.rb', line 6

def initialize(attributes)
  attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k }
end

Instance Attribute Details

#big_file_idObject

Returns the value of attribute big_file_id.



3
4
5
# File 'lib/telegram/bot/types/chat_photo.rb', line 3

def big_file_id
  @big_file_id
end

#small_file_idObject

Returns the value of attribute small_file_id.



3
4
5
# File 'lib/telegram/bot/types/chat_photo.rb', line 3

def small_file_id
  @small_file_id
end