• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/protobuf/outgoingmessagesresponse.php
  • Класс: BitrixPullProtobufOutgoingMessagesResponse
  • Вызов: OutgoingMessagesResponse::addMessages
public function addMessages(BitrixPullProtobufOutgoingMessage $value)
    {
        if ($this->messages === null) {
            $this->messages = new ProtobufMessageCollection();
        }

        $this->messages->add($value);
    }