openstatus.notification.v1.TelegramData */ class TelegramData extends \Google\Protobuf\Internal\Message { /** * Telegram chat ID. * * Generated from protobuf field string chat_id = 1 [json_name = "chatId", (.gnostic.openapi.v3.property) = { */ protected $chat_id = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $chat_id * Telegram chat ID. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Notification\V1\Providers::initOnce(); parent::__construct($data); } /** * Telegram chat ID. * * Generated from protobuf field string chat_id = 1 [json_name = "chatId", (.gnostic.openapi.v3.property) = { * @return string */ public function getChatId() { return $this->chat_id; } /** * Telegram chat ID. * * Generated from protobuf field string chat_id = 1 [json_name = "chatId", (.gnostic.openapi.v3.property) = { * @param string $var * @return $this */ public function setChatId(string $var) { GPBUtil::checkString($var, true); $this->chat_id = $var; return $this; } }