diff --git a/src/TgBotLib/Objects/Animation.php b/src/TgBotLib/Objects/Telegram/Animation.php similarity index 99% rename from src/TgBotLib/Objects/Animation.php rename to src/TgBotLib/Objects/Telegram/Animation.php index 4a16139..70fba4e 100644 --- a/src/TgBotLib/Objects/Animation.php +++ b/src/TgBotLib/Objects/Telegram/Animation.php @@ -2,7 +2,7 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects; + namespace TgBotLib\Objects\Telegram; use TgBotLib\Interfaces\ObjectTypeInterface; diff --git a/src/TgBotLib/Objects/Audio.php b/src/TgBotLib/Objects/Telegram/Audio.php similarity index 99% rename from src/TgBotLib/Objects/Audio.php rename to src/TgBotLib/Objects/Telegram/Audio.php index 640f18d..c47514a 100644 --- a/src/TgBotLib/Objects/Audio.php +++ b/src/TgBotLib/Objects/Telegram/Audio.php @@ -2,7 +2,7 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects; + namespace TgBotLib\Objects\Telegram; use TgBotLib\Interfaces\ObjectTypeInterface; diff --git a/src/TgBotLib/Objects/BotCommand.php b/src/TgBotLib/Objects/Telegram/BotCommand.php similarity index 97% rename from src/TgBotLib/Objects/BotCommand.php rename to src/TgBotLib/Objects/Telegram/BotCommand.php index 28c78cb..57141f6 100644 --- a/src/TgBotLib/Objects/BotCommand.php +++ b/src/TgBotLib/Objects/Telegram/BotCommand.php @@ -2,7 +2,7 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects; + namespace TgBotLib\Objects\Telegram; use TgBotLib\Interfaces\ObjectTypeInterface; diff --git a/src/TgBotLib/Objects/BotCommandScope.php b/src/TgBotLib/Objects/Telegram/BotCommandScope.php similarity index 90% rename from src/TgBotLib/Objects/BotCommandScope.php rename to src/TgBotLib/Objects/Telegram/BotCommandScope.php index e28f91e..ba785d0 100644 --- a/src/TgBotLib/Objects/BotCommandScope.php +++ b/src/TgBotLib/Objects/Telegram/BotCommandScope.php @@ -2,12 +2,12 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects; + namespace TgBotLib\Objects\Telegram; use TgBotLib\Interfaces\ObjectTypeInterface; - use TgBotLib\Objects\BotCommandScope\BotCommandScopeChat; - use TgBotLib\Objects\BotCommandScope\BotCommandScopeChatAdministrators; - use TgBotLib\Objects\BotCommandScope\BotCommandScopeChatMember; + use TgBotLib\Objects\Telegram\BotCommandScope\BotCommandScopeChat; + use TgBotLib\Objects\Telegram\BotCommandScope\BotCommandScopeChatAdministrators; + use TgBotLib\Objects\Telegram\BotCommandScope\BotCommandScopeChatMember; class BotCommandScope implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeAllChatAdministrators.php b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeAllChatAdministrators.php similarity index 95% rename from src/TgBotLib/Objects/BotCommandScope/BotCommandScopeAllChatAdministrators.php rename to src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeAllChatAdministrators.php index 307448d..f0618c2 100644 --- a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeAllChatAdministrators.php +++ b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeAllChatAdministrators.php @@ -2,11 +2,11 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects\BotCommandScope; + namespace TgBotLib\Objects\Telegram\BotCommandScope; use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Interfaces\ObjectTypeInterface; - use TgBotLib\Objects\BotCommandScope; + use TgBotLib\Objects\Telegram\BotCommandScope; class BotCommandScopeAllChatAdministrators implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeAllGroupChats.php b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeAllGroupChats.php similarity index 93% rename from src/TgBotLib/Objects/BotCommandScope/BotCommandScopeAllGroupChats.php rename to src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeAllGroupChats.php index 8e629e7..943aced 100644 --- a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeAllGroupChats.php +++ b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeAllGroupChats.php @@ -2,11 +2,11 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects\BotCommandScope; + namespace TgBotLib\Objects\Telegram\BotCommandScope; use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Interfaces\ObjectTypeInterface; - use TgBotLib\Objects\BotCommandScope; + use TgBotLib\Objects\Telegram\BotCommandScope; class BotCommandScopeAllGroupChats implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeAllPrivateChats.php b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeAllPrivateChats.php similarity index 93% rename from src/TgBotLib/Objects/BotCommandScope/BotCommandScopeAllPrivateChats.php rename to src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeAllPrivateChats.php index b5e4e2c..c28c388 100644 --- a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeAllPrivateChats.php +++ b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeAllPrivateChats.php @@ -2,11 +2,11 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects\BotCommandScope; + namespace TgBotLib\Objects\Telegram\BotCommandScope; use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Interfaces\ObjectTypeInterface; - use TgBotLib\Objects\BotCommandScope; + use TgBotLib\Objects\Telegram\BotCommandScope; class BotCommandScopeAllPrivateChats implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeChat.php b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeChat.php similarity index 95% rename from src/TgBotLib/Objects/BotCommandScope/BotCommandScopeChat.php rename to src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeChat.php index f0f413e..48e8a22 100644 --- a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeChat.php +++ b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeChat.php @@ -2,11 +2,11 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects\BotCommandScope; + namespace TgBotLib\Objects\Telegram\BotCommandScope; use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Interfaces\ObjectTypeInterface; - use TgBotLib\Objects\BotCommandScope; + use TgBotLib\Objects\Telegram\BotCommandScope; class BotCommandScopeChat implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeChatAdministrators.php b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeChatAdministrators.php similarity index 93% rename from src/TgBotLib/Objects/BotCommandScope/BotCommandScopeChatAdministrators.php rename to src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeChatAdministrators.php index 12ce97a..df7cee8 100644 --- a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeChatAdministrators.php +++ b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeChatAdministrators.php @@ -2,11 +2,11 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects\BotCommandScope; + namespace TgBotLib\Objects\Telegram\BotCommandScope; use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Interfaces\ObjectTypeInterface; - use TgBotLib\Objects\BotCommandScope; + use TgBotLib\Objects\Telegram\BotCommandScope; class BotCommandScopeChatAdministrators implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeChatMember.php b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeChatMember.php similarity index 95% rename from src/TgBotLib/Objects/BotCommandScope/BotCommandScopeChatMember.php rename to src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeChatMember.php index 036a0cc..e52327b 100644 --- a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeChatMember.php +++ b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeChatMember.php @@ -2,11 +2,11 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects\BotCommandScope; + namespace TgBotLib\Objects\Telegram\BotCommandScope; use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Interfaces\ObjectTypeInterface; - use TgBotLib\Objects\BotCommandScope; + use TgBotLib\Objects\Telegram\BotCommandScope; class BotCommandScopeChatMember implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeDefault.php b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeDefault.php similarity index 93% rename from src/TgBotLib/Objects/BotCommandScope/BotCommandScopeDefault.php rename to src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeDefault.php index 73467f3..cfd651f 100644 --- a/src/TgBotLib/Objects/BotCommandScope/BotCommandScopeDefault.php +++ b/src/TgBotLib/Objects/Telegram/BotCommandScope/BotCommandScopeDefault.php @@ -2,11 +2,11 @@ /** @noinspection PhpMissingFieldTypeInspection */ - namespace TgBotLib\Objects\BotCommandScope; + namespace TgBotLib\Objects\Telegram\BotCommandScope; use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Interfaces\ObjectTypeInterface; - use TgBotLib\Objects\BotCommandScope; + use TgBotLib\Objects\Telegram\BotCommandScope; class BotCommandScopeDefault implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/CallbackGame.php b/src/TgBotLib/Objects/Telegram/CallbackGame.php similarity index 94% rename from src/TgBotLib/Objects/CallbackGame.php rename to src/TgBotLib/Objects/Telegram/CallbackGame.php index 5d61220..c52d4b7 100644 --- a/src/TgBotLib/Objects/CallbackGame.php +++ b/src/TgBotLib/Objects/Telegram/CallbackGame.php @@ -1,6 +1,6 @@