From fb2a06024d993830bb81e3af9b52725141764079 Mon Sep 17 00:00:00 2001 From: netkas Date: Thu, 3 Oct 2024 21:15:51 -0400 Subject: [PATCH] Moved InputMessageContent --- .../InlineQueryResult/InlineQueryResultArticle.php | 2 +- .../Inline/InlineQueryResult/InlineQueryResultAudio.php | 2 +- .../InlineQueryResult/InlineQueryResultContact.php | 2 +- .../InlineQueryResult/InlineQueryResultDocument.php | 2 +- .../Inline/InlineQueryResult/InlineQueryResultGif.php | 2 +- .../InlineQueryResult/InlineQueryResultLocation.php | 2 +- .../InlineQueryResult/InlineQueryResultMpeg4Gif.php | 2 +- .../Inline/InlineQueryResult/InlineQueryResultPhoto.php | 2 +- .../Inline/InlineQueryResult/InlineQueryResultVenue.php | 2 +- .../Inline/InlineQueryResult/InlineQueryResultVideo.php | 2 +- .../Inline/InlineQueryResult/InlineQueryResultVoice.php | 2 +- .../Objects/{ => Inline}/InputMessageContent.php | 9 +++++++-- .../InputMessageContent/InputContactMessageContent.php | 2 +- .../InputMessageContent/InputInvoiceMessageContent.php | 2 +- .../InputMessageContent/InputLocationMessageContent.php | 2 +- .../InputMessageContent/InputTextMessageContent.php | 2 +- .../InputMessageContent/InputVenueMessageContent.php | 2 +- 17 files changed, 23 insertions(+), 18 deletions(-) rename src/TgBotLib/Objects/{ => Inline}/InputMessageContent.php (89%) diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultArticle.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultArticle.php index b04d1d7..842f312 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultArticle.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultArticle.php @@ -8,7 +8,7 @@ use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; - use TgBotLib\Objects\InputMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent; class InlineQueryResultArticle extends InlineQueryResult implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultAudio.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultAudio.php index 9ae495e..49d6fd3 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultAudio.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultAudio.php @@ -8,7 +8,7 @@ use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; - use TgBotLib\Objects\InputMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent; use TgBotLib\Objects\MessageEntity; class InlineQueryResultAudio extends InlineQueryResult implements ObjectTypeInterface diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultContact.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultContact.php index 2d5dd02..29e9b5d 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultContact.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultContact.php @@ -11,7 +11,7 @@ use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; - use TgBotLib\Objects\InputMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent; class InlineQueryResultContact extends InlineQueryResult implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultDocument.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultDocument.php index c784297..58369dd 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultDocument.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultDocument.php @@ -11,7 +11,7 @@ use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; - use TgBotLib\Objects\InputMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent; use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent; use TgBotLib\Objects\MessageEntity; diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultGif.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultGif.php index f364edd..c429590 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultGif.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultGif.php @@ -12,7 +12,7 @@ use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; - use TgBotLib\Objects\InputMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent; use TgBotLib\Objects\MessageEntity; class InlineQueryResultGif extends InlineQueryResult implements ObjectTypeInterface diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultLocation.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultLocation.php index d9615af..63ccaa3 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultLocation.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultLocation.php @@ -9,7 +9,7 @@ use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; - use TgBotLib\Objects\InputMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent; use TgBotLib\Objects\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 c13c48c..4364571 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultMpeg4Gif.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultMpeg4Gif.php @@ -9,7 +9,7 @@ use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; - use TgBotLib\Objects\InputMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent; use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent; use TgBotLib\Objects\MessageEntity; diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultPhoto.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultPhoto.php index 8e7ee40..dd4cbd7 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultPhoto.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultPhoto.php @@ -10,7 +10,7 @@ use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; - use TgBotLib\Objects\InputMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent; use TgBotLib\Objects\InputMessageContent\InputTextMessageContent; use TgBotLib\Objects\MessageEntity; diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVenue.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVenue.php index d156c58..f5ff1fa 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVenue.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVenue.php @@ -8,7 +8,7 @@ use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; - use TgBotLib\Objects\InputMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent; use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent; class InlineQueryResultVenue extends InlineQueryResult implements ObjectTypeInterface diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVideo.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVideo.php index aefb8d1..11eeead 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVideo.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVideo.php @@ -10,7 +10,7 @@ use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; - use TgBotLib\Objects\InputMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent; use TgBotLib\Objects\MessageEntity; class InlineQueryResultVideo extends InlineQueryResult implements ObjectTypeInterface diff --git a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVoice.php b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVoice.php index f8b972a..286f41d 100644 --- a/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVoice.php +++ b/src/TgBotLib/Objects/Inline/InlineQueryResult/InlineQueryResultVoice.php @@ -10,7 +10,7 @@ use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InlineKeyboardMarkup; use TgBotLib\Objects\Inline\InlineQueryResult; - use TgBotLib\Objects\InputMessageContent; + use TgBotLib\Objects\Inline\InputMessageContent; use TgBotLib\Objects\MessageEntity; class InlineQueryResultVoice extends InlineQueryResult implements ObjectTypeInterface diff --git a/src/TgBotLib/Objects/InputMessageContent.php b/src/TgBotLib/Objects/Inline/InputMessageContent.php similarity index 89% rename from src/TgBotLib/Objects/InputMessageContent.php rename to src/TgBotLib/Objects/Inline/InputMessageContent.php index 69e0dc5..e6e7658 100644 --- a/src/TgBotLib/Objects/InputMessageContent.php +++ b/src/TgBotLib/Objects/Inline/InputMessageContent.php @@ -1,6 +1,6 @@