code: def to_array(self):
          
          array = super(InlineQueryResultArticle, self).to_array()
          # 'type' and 'id' given by superclass
          array['title'] = u(self.title)  # py2: type unicode, py3: type str
          array['input_message_content'] = self.input_message_content.to_array()  # type InputMessageContent
          if self.reply_markup is not None:
              array['reply_markup'] = self.reply_markup.to_array()  # type InlineKeyboardMarkup
          if self.url is not None:
              array['url'] = u(self.url)  # py2: type unicode, py3: type str
          if self.hide_url is not None:
              array['hide_url'] = bool(self.hide_url)  # type bool
          if self.description is not None:
              array['description'] = u(self.description)  # py2: type unicode, py3: type str
          if self.thumb_url is not None:
              array['thumb_url'] = u(self.thumb_url)  # py2: type unicode, py3: type str
          if self.thumb_width is not None:
              array['thumb_width'] = int(self.thumb_width)  # type int
          if self.thumb_height is not None:
              array['thumb_height'] = int(self.thumb_height)  # type int
          return array
docs: Serializes this InlineQueryResultArticle to a dictionary.
  
          :return: dictionary representation of this object.
          :rtype: dict