def to_array(self):
        """
        Serializes this InputContactMessageContent to a dictionary.

        :return: dictionary representation of this object.
        :rtype: dict
        """
        array = super(InputContactMessageContent, self).to_array()
        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.vcard is not None:
            array['vcard'] = u(self.vcard)  # py2: type unicode, py3: type str
        return array
def to_array ( self ) : array = super ( InputContactMessageContent , self ) . to_array ( ) array [ 'phone_number' ] = u ( self . phone_number ) array [ 'first_name' ] = u ( self . first_name ) if self . last_name is not None : array [ 'last_name' ] = u ( self . last_name ) if self . vcard is not None : array [ 'vcard' ] = u ( self . vcard ) return array
Serializes this InputContactMessageContent to a dictionary.

        :return: dictionary representation of this object.
        :rtype: dict