From 1930ed5c1c01b76cfeb88a2d834f5fe24ffd6528 Mon Sep 17 00:00:00 2001 From: netkas Date: Mon, 7 Oct 2024 15:36:08 -0400 Subject: [PATCH] Added Missing PhpDoc --- src/TgBotLib/Objects/MessageEntity.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/TgBotLib/Objects/MessageEntity.php b/src/TgBotLib/Objects/MessageEntity.php index 4c28867..e99a6c3 100644 --- a/src/TgBotLib/Objects/MessageEntity.php +++ b/src/TgBotLib/Objects/MessageEntity.php @@ -98,6 +98,12 @@ return $this->url; } + /** + * Sets the URL that will be opened after user taps on the text + * + * @param string|null $url + * @return MessageEntity + */ public function setUrl(?string $url): MessageEntity { $this->url = $url;