diff --git a/src/TgBotLib/Methods/SendVideoNote.php b/src/TgBotLib/Methods/SendVideoNote.php index 0841bd5..cb4da23 100644 --- a/src/TgBotLib/Methods/SendVideoNote.php +++ b/src/TgBotLib/Methods/SendVideoNote.php @@ -70,7 +70,7 @@ } // If no local files to upload, use regular POST method - return Message::fromArray(self::executeCurl(self::buildPost($bot, Methods::SEND_VIDEO->value, $parameters))); + return Message::fromArray(self::executeCurl(self::buildPost($bot, Methods::SEND_VIDEO_NOTE->value, $parameters))); } /**