From 9deb9e2c003765e8f5db9ed473fb6f114379c0b2 Mon Sep 17 00:00:00 2001 From: Netkas Date: Mon, 24 Apr 2023 13:47:50 -0400 Subject: [PATCH] Minor correction in \TgBotLib\Objects\Telegram\InlineQueryResult > InlineQueryResultVoice --- .../Telegram/InlineQueryResult/InlineQueryResultVoice.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/TgBotLib/Objects/Telegram/InlineQueryResult/InlineQueryResultVoice.php b/src/TgBotLib/Objects/Telegram/InlineQueryResult/InlineQueryResultVoice.php index 376c75e..b32b6f0 100644 --- a/src/TgBotLib/Objects/Telegram/InlineQueryResult/InlineQueryResultVoice.php +++ b/src/TgBotLib/Objects/Telegram/InlineQueryResult/InlineQueryResultVoice.php @@ -61,6 +61,14 @@ */ private $input_message_content; + /** + * InlineQueryResultVoice constructor. + */ + public function __construct() + { + $this->type = 'voice'; + } + /** * Type of the result, must be voice *