code: def _new_message_properties(self, content_type=None, content_encoding=None,
                                  headers=None, delivery_mode=None, priority=None,
                                  correlation_id=None, reply_to=None,
                                  expiration=None, message_id=None,
                                  timestamp=None, message_type=None, user_id=None,
                                  app_id=None):
          
          return pika.BasicProperties(content_type, content_encoding, headers,
                                      delivery_mode, priority, correlation_id,
                                      reply_to, expiration, message_id, timestamp,
                                      message_type, user_id, app_id)
docs: Create a BasicProperties object, with the properties specified
  
          :param str content_type: MIME content type
          :param str content_encoding: MIME content encoding
          :param dict headers: Message header field table
          :param int delivery_mode: Non-persistent (1) or persistent (2)
          :param int priority: Message priority, 0 to 9
          :param str correlation_id: Application correlation identifier
          :param str reply_to: Address to reply to
          :param str expiration: Message expiration specification
          :param str message_id: Application message identifier
          :param int timestamp: Message timestamp
          :param str message_type: Message type name
          :param str user_id: Creating user id
          :param str app_id: Creating application id
          :rtype: pika.BasicProperties