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;