docs: def to_array(self):
          """
          Serializes this VideoNote to a dictionary.
  
          :return: dictionary representation of this object.
          :rtype: dict
          """
          array = super(VideoNote, self).to_array()
          array['file_id'] = u(self.file_id)  # py2: type unicode, py3: type str
  
          array['length'] = int(self.length)  # type int
          array['duration'] = int(self.duration)  # type int
          if self.thumb is not None:
              array['thumb'] = self.thumb.to_array()  # type PhotoSize
  
          if self.file_size is not None:
              array['file_size'] = int(self.file_size)  # type int
          return array