From 33e816ce97f308e77b42e989692567036ad330d9 Mon Sep 17 00:00:00 2001 From: Alex Komarichev Date: Tue, 25 Jun 2024 11:20:01 +0300 Subject: [PATCH] Add templateSend phpdoc --- src/Bot/Client.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Bot/Client.php b/src/Bot/Client.php index 85a0fc5..750bd44 100644 --- a/src/Bot/Client.php +++ b/src/Bot/Client.php @@ -481,6 +481,15 @@ class Client return $adapter->getResponseList($response); } + /** + * Send a template message + * + * @param string $templateId + * @param Model\Request\TemplateSendRequest $request Request parameters + * + * @return \RetailCrm\Mg\Bot\Model\ModelInterface + * @throws \Exception + */ public function templateSend(string $templateId, Model\Request\TemplateSendRequest $request): ModelInterface { $response = $this->client->makeRequest(