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 *