class Telegram::Bot::Types::File
Attributes
file_id[RW]
file_path[RW]
file_size[RW]
Public Class Methods
new(attributes)
click to toggle source
# File lib/telegram/bot/types/file.rb, line 7 def initialize(attributes) attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k } end
Public Instance Methods
file_path=(file_path)
click to toggle source
# File lib/telegram/bot/types/file.rb, line 11 def file_path=(file_path) @file_path = file_path end