<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: plugin/duckchat_message_send.proto

namespace Zaly\Proto\Plugin;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 **：
 * 	action: duckchat.message.send
 *
 * Generated from protobuf message <code>plugin.DuckChatMessageSendRequest</code>
 */
class DuckChatMessageSendRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.core.Message message = 1;</code>
     */
    private $message = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Zaly\Proto\Core\Message $message
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Plugin\DuckchatMessageSend::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.core.Message message = 1;</code>
     * @return \Zaly\Proto\Core\Message
     */
    public function getMessage()
    {
        return $this->message;
    }

    /**
     * Generated from protobuf field <code>.core.Message message = 1;</code>
     * @param \Zaly\Proto\Core\Message $var
     * @return $this
     */
    public function setMessage($var)
    {
        GPBUtil::checkMessage($var, \Zaly\Proto\Core\Message::class);
        $this->message = $var;

        return $this;
    }

}

