code: def to_array(self):
          
          array = super(InlineQueryResultContact, self).to_array()
          # 'type' and 'id' given by superclass
          array['phone_number'] = u(self.phone_number)  # py2: type unicode, py3: type str
          array['first_name'] = u(self.first_name)  # py2: type unicode, py3: type str
          if self.last_name is not None:
              array['last_name'] = u(self.last_name)  # py2: type unicode, py3: type str
          if self.reply_markup is not None:
              array['reply_markup'] = self.reply_markup.to_array()  # type InlineKeyboardMarkup
          if self.input_message_content is not None:
              array['input_message_content'] = self.input_message_content.to_array()  # type InputMessageContent
          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 InlineQueryResultContact to a dictionary.
  
          :return: dictionary representation of this object.
          :rtype: dict