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

namespace Zaly\Proto\Site;

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

/**
 **
 * action: api.tmpchat.group
 *
 * Generated from protobuf message <code>site.ApiTmpchatGroupRequest</code>
 */
class ApiTmpchatGroupRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string groupId = 1;</code>
     */
    private $groupId = '';
    /**
     * Generated from protobuf field <code>string toUserId = 2;</code>
     */
    private $toUserId = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $groupId
     *     @type string $toUserId
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Site\ApiTmpchatGroup::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string groupId = 1;</code>
     * @return string
     */
    public function getGroupId()
    {
        return $this->groupId;
    }

    /**
     * Generated from protobuf field <code>string groupId = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setGroupId($var)
    {
        GPBUtil::checkString($var, True);
        $this->groupId = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string toUserId = 2;</code>
     * @return string
     */
    public function getToUserId()
    {
        return $this->toUserId;
    }

    /**
     * Generated from protobuf field <code>string toUserId = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setToUserId($var)
    {
        GPBUtil::checkString($var, True);
        $this->toUserId = $var;

        return $this;
    }

}

