class Telegram::Bot::Types::VideoNote

Attributes

duration[RW]
file_id[RW]
file_size[RW]
length[RW]
thumb[RW]

Public Class Methods

new(attributes) click to toggle source
# File lib/telegram/bot/types/video_note.rb, line 9
def initialize(attributes)
  attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k }
end

Public Instance Methods

thumb=(attributes) click to toggle source
# File lib/telegram/bot/types/video_note.rb, line 13
def thumb=(attributes)
  @thumb = PhotoSize.new(attributes)
end