AsyncMessage Class ================== .. php:class:: AsyncMessage Represents an asynchronous message Implements :php:interface:`ItemInterface` .. php:method:: __construct(string $message, Participant $recipient, ?Participant $sender = null) Create a new AsyncMessage :param string $message: The message :param Participant $recipient: The recipient :param ?Participant $sender: The sender (default: External sender) :returns: A new ``AsyncMessage`` instance :rtype: AsyncMessage .. php:method:: withComment(string $comment) Set a comment for the AsyncMessage :param string $comment: The comment :returns: A new instance of ``AsyncMessage`` with the comment :rtype: AsyncMessage