From 4c0ad925d78d5a0df77b83c06616a1b278bdf512 Mon Sep 17 00:00:00 2001 From: netkas Date: Thu, 3 Oct 2024 21:17:09 -0400 Subject: [PATCH] Moved InputMessageContent objects --- .../InlineQueryResult/InlineQueryResultDocument.php | 2 +- .../InlineQueryResult/InlineQueryResultLocation.php | 2 +- .../InlineQueryResult/InlineQueryResultMpeg4Gif.php | 2 +- .../Inline/InlineQueryResult/InlineQueryResultPhoto.php | 2 +- .../Inline/InlineQueryResult/InlineQueryResultVenue.php | 2 +- src/TgBotLib/Objects/Inline/InputMessageContent.php | 8 ++++---- .../InputMessageContent/InputContactMessageContent.php | 2 +- .../InputMessageContent/InputInvoiceMessageContent.php | 2 +- .../InputMessageContent/InputLocationMessageContent.php | 2 +- .../InputMessageContent/InputTextMessageContent.php | 2 +- .../InputMessageContent/InputVenueMessageContent.php | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) rename src/TgBotLib/Objects/{ => Inline}/InputMessageContent/InputContactMessageContent.php (98%) rename src/TgBotLib/Objects/{ => Inline}/InputMessageContent/InputInvoiceMessageContent.php (99%) rename src/TgBotLib/Objects/{ => Inline}/InputMessageContent/InputLocationMessageContent.php (99%) rename src/TgBotLib/Objects/{ => Inline}/InputMessageContent/InputTextMessageContent.php (99%) rename src/TgBotLib/Objects/{ => Inline}/InputMessageContent/InputVenueMessageContent.php (99%) diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultDocument.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultDocument.php index 58369dd..5bbb22f 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultDocument.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultDocument.php @@ -12,7 +12,7 @@ use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; use TgBotLib\Objects\Inline\InputMessageContent; - use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent\InputVenueMessageContent; use TgBotLib\Objects\MessageEntity; class InlineQueryResultDocument extends InlineQueryResult implements ObjectTypeInterface diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultLocation.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultLocation.php index 63ccaa3..53a2d82 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultLocation.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultLocation.php @@ -10,7 +10,7 @@ use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; use TgBotLib\Objects\Inline\InputMessageContent; - use TgBotLib\Objects\InputMessageContent\InputContactMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent\InputContactMessageContent; class InlineQueryResultLocation extends InlineQueryResult implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultMpeg4Gif.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultMpeg4Gif.php index 4364571..2acd2dd 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultMpeg4Gif.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultMpeg4Gif.php @@ -10,7 +10,7 @@ use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; use TgBotLib\Objects\Inline\InputMessageContent; - use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent\InputVenueMessageContent; use TgBotLib\Objects\MessageEntity; class InlineQueryResultMpeg4Gif extends InlineQueryResult implements ObjectTypeInterface diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultPhoto.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultPhoto.php index dd4cbd7..4c48651 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultPhoto.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultPhoto.php @@ -11,7 +11,7 @@ use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; use TgBotLib\Objects\Inline\InputMessageContent; - use TgBotLib\Objects\InputMessageContent\InputTextMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent\InputTextMessageContent; use TgBotLib\Objects\MessageEntity; class InlineQueryResultPhoto extends InlineQueryResult implements ObjectTypeInterface diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVenue.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVenue.php index f5ff1fa..8b10583 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVenue.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVenue.php @@ -9,7 +9,7 @@ use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; use TgBotLib\Objects\Inline\InputMessageContent; - use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent\InputVenueMessageContent; class InlineQueryResultVenue extends InlineQueryResult implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/Inline/InputMessageContent.php b/src/TgBotLib/Objects/Inline/InputMessageContent.php index e6e7658..b653855 100644 --- a/src/TgBotLib/Objects/Inline/InputMessageContent.php +++ b/src/TgBotLib/Objects/Inline/InputMessageContent.php @@ -5,10 +5,10 @@ use InvalidArgumentException; use TgBotLib\Enums\Types\InputMessageContentType; use TgBotLib\Interfaces\ObjectTypeInterface; - use TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent; - use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent; - use TgBotLib\Objects\InputMessageContent\InputTextMessageContent; - use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent\InputInvoiceMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent\InputLocationMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent\InputTextMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent\InputVenueMessageContent; abstract class InputMessageContent implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/InputMessageContent/InputContactMessageContent.php b/src/TgBotLib/Objects/Inline/InputMessageContent/InputContactMessageContent.php similarity index 98% rename from src/TgBotLib/Objects/InputMessageContent/InputContactMessageContent.php rename to src/TgBotLib/Objects/Inline/InputMessageContent/InputContactMessageContent.php index c1d61e7..31ad879 100644 --- a/src/TgBotLib/Objects/InputMessageContent/InputContactMessageContent.php +++ b/src/TgBotLib/Objects/Inline/InputMessageContent/InputContactMessageContent.php @@ -3,7 +3,7 @@ /** @noinspection PhpUnused */ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects\InputMessageContent; + namespace TgBotLib\Objects\Inline\InputMessageContent; use InvalidArgumentException; use TgBotLib\Classes\Validate; diff --git a/src/TgBotLib/Objects/InputMessageContent/InputInvoiceMessageContent.php b/src/TgBotLib/Objects/Inline/InputMessageContent/InputInvoiceMessageContent.php similarity index 99% rename from src/TgBotLib/Objects/InputMessageContent/InputInvoiceMessageContent.php rename to src/TgBotLib/Objects/Inline/InputMessageContent/InputInvoiceMessageContent.php index 6dc10b9..699fc07 100644 --- a/src/TgBotLib/Objects/InputMessageContent/InputInvoiceMessageContent.php +++ b/src/TgBotLib/Objects/Inline/InputMessageContent/InputInvoiceMessageContent.php @@ -3,7 +3,7 @@ /** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpUnused */ - namespace TgBotLib\Objects\InputMessageContent; + namespace TgBotLib\Objects\Inline\InputMessageContent; use InvalidArgumentException; use TgBotLib\Classes\Validate; diff --git a/src/TgBotLib/Objects/InputMessageContent/InputLocationMessageContent.php b/src/TgBotLib/Objects/Inline/InputMessageContent/InputLocationMessageContent.php similarity index 99% rename from src/TgBotLib/Objects/InputMessageContent/InputLocationMessageContent.php rename to src/TgBotLib/Objects/Inline/InputMessageContent/InputLocationMessageContent.php index 628e72b..c90b0b0 100644 --- a/src/TgBotLib/Objects/InputMessageContent/InputLocationMessageContent.php +++ b/src/TgBotLib/Objects/Inline/InputMessageContent/InputLocationMessageContent.php @@ -3,7 +3,7 @@ /** @noinspection PhpUnused */ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects\InputMessageContent; + namespace TgBotLib\Objects\Inline\InputMessageContent; use InvalidArgumentException; use TgBotLib\Classes\Validate; diff --git a/src/TgBotLib/Objects/InputMessageContent/InputTextMessageContent.php b/src/TgBotLib/Objects/Inline/InputMessageContent/InputTextMessageContent.php similarity index 99% rename from src/TgBotLib/Objects/InputMessageContent/InputTextMessageContent.php rename to src/TgBotLib/Objects/Inline/InputMessageContent/InputTextMessageContent.php index 75a435b..8de75e1 100644 --- a/src/TgBotLib/Objects/InputMessageContent/InputTextMessageContent.php +++ b/src/TgBotLib/Objects/Inline/InputMessageContent/InputTextMessageContent.php @@ -3,7 +3,7 @@ /** @noinspection PhpUnused */ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects\InputMessageContent; + namespace TgBotLib\Objects\Inline\InputMessageContent; use InvalidArgumentException; use TgBotLib\Classes\Validate; diff --git a/src/TgBotLib/Objects/InputMessageContent/InputVenueMessageContent.php b/src/TgBotLib/Objects/Inline/InputMessageContent/InputVenueMessageContent.php similarity index 99% rename from src/TgBotLib/Objects/InputMessageContent/InputVenueMessageContent.php rename to src/TgBotLib/Objects/Inline/InputMessageContent/InputVenueMessageContent.php index 5f29931..7253389 100644 --- a/src/TgBotLib/Objects/InputMessageContent/InputVenueMessageContent.php +++ b/src/TgBotLib/Objects/Inline/InputMessageContent/InputVenueMessageContent.php @@ -3,7 +3,7 @@ /** @noinspection PhpUnused */ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects\InputMessageContent; + namespace TgBotLib\Objects\Inline\InputMessageContent; use TgBotLib\Enums\Types\InputMessageContentType; use TgBotLib\Interfaces\ObjectTypeInterface;