From 1ef4e52a4631d2aae1b88dbcf4d1adc1fc0fb504 Mon Sep 17 00:00:00 2001 From: Netkas Date: Tue, 14 Feb 2023 17:41:38 -0500 Subject: [PATCH] Refactored Namespace --- src/TgBotLib/Objects/{ => Telegram}/Animation.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Audio.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/BotCommand.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/BotCommandScope.php | 8 ++++---- .../BotCommandScopeAllChatAdministrators.php | 4 ++-- .../BotCommandScope/BotCommandScopeAllGroupChats.php | 4 ++-- .../BotCommandScope/BotCommandScopeAllPrivateChats.php | 4 ++-- .../BotCommandScope/BotCommandScopeChat.php | 4 ++-- .../BotCommandScope/BotCommandScopeChatAdministrators.php | 4 ++-- .../BotCommandScope/BotCommandScopeChatMember.php | 4 ++-- .../BotCommandScope/BotCommandScopeDefault.php | 4 ++-- src/TgBotLib/Objects/{ => Telegram}/CallbackGame.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/CallbackQuery.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Chat.php | 2 +- .../Objects/{ => Telegram}/ChatAdministratorRights.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ChatInviteLink.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ChatJoinRequest.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ChatLocation.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ChatMember.php | 2 +- .../{ => Telegram}/ChatMember/ChatMemberAdministrator.php | 6 +++--- .../{ => Telegram}/ChatMember/ChatMemberBanned.php | 6 +++--- .../Objects/{ => Telegram}/ChatMember/ChatMemberLeft.php | 6 +++--- .../{ => Telegram}/ChatMember/ChatMemberMember.php | 6 +++--- .../Objects/{ => Telegram}/ChatMember/ChatMemberOwner.php | 6 +++--- .../{ => Telegram}/ChatMember/ChatMemberRestricted.php | 6 +++--- src/TgBotLib/Objects/{ => Telegram}/ChatMemberUpdated.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ChatPermissions.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ChatPhoto.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ChatShared.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Contact.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Dice.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Document.php | 2 +- .../Objects/{ => Telegram}/EncryptedCredentials.php | 2 +- .../Objects/{ => Telegram}/EncryptedPassportElement.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/File.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ForceReply.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ForumTopic.php | 4 ++-- src/TgBotLib/Objects/{ => Telegram}/ForumTopicClosed.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ForumTopicCreated.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ForumTopicEdited.php | 2 +- .../Objects/{ => Telegram}/ForumTopicReopened.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Game.php | 2 +- .../Objects/{ => Telegram}/GeneralForumTopicHidden.php | 2 +- .../Objects/{ => Telegram}/GeneralForumTopicUnhidden.php | 2 +- .../Objects/{ => Telegram}/InlineKeyboardButton.php | 2 +- .../Objects/{ => Telegram}/InlineKeyboardMarkup.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/InputMedia.php | 2 +- .../{ => Telegram}/InputMedia/InputMediaAnimation.php | 6 +++--- .../Objects/{ => Telegram}/InputMedia/InputMediaAudio.php | 6 +++--- .../{ => Telegram}/InputMedia/InputMediaDocument.php | 6 +++--- .../Objects/{ => Telegram}/InputMedia/InputMediaPhoto.php | 6 +++--- .../Objects/{ => Telegram}/InputMedia/InputMediaVideo.php | 6 +++--- src/TgBotLib/Objects/{ => Telegram}/Invoice.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/KeyboardButton.php | 2 +- .../Objects/{ => Telegram}/KeyboardButtonPollType.php | 2 +- .../Objects/{ => Telegram}/KeyboardButtonRequestChat.php | 2 +- .../Objects/{ => Telegram}/KeyboardButtonRequestUser.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/LabeledPrice.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Location.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/LoginUrl.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/MaskPosition.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/MenuButton.php | 2 +- .../{ => Telegram}/MenuButton/MenuButtonCommands.php | 4 ++-- .../{ => Telegram}/MenuButton/MenuButtonDefault.php | 4 ++-- .../{ => Telegram}/MenuButton/MenuButtonWebApp.php | 6 +++--- src/TgBotLib/Objects/{ => Telegram}/Message.php | 2 +- .../{ => Telegram}/MessageAutoDeleteTimerChanged.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/MessageEntity.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/OrderInfo.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/PassportData.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/PassportFile.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/PhotoSize.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Poll.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/PollAnswer.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/PollOption.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/PreCheckoutQuery.php | 2 +- .../Objects/{ => Telegram}/ProximityAlertTriggered.php | 2 +- .../Objects/{ => Telegram}/ReplyKeyboardMarkup.php | 2 +- .../Objects/{ => Telegram}/ReplyKeyboardRemove.php | 2 +- .../Objects/{ => Telegram}/ResponseParameters.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ShippingAddress.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ShippingOption.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/ShippingQuery.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Sticker.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/SuccessfulPayment.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/User.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/UserProfilePhotos.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/UserShared.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Venue.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Video.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/VideoChatEnded.php | 2 +- .../{ => Telegram}/VideoChatParticipantsInvited.php | 2 +- .../Objects/{ => Telegram}/VideoChatScheduled.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/VideoChatStarted.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/VideoNote.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/Voice.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/WebAppData.php | 2 +- src/TgBotLib/Objects/{ => Telegram}/WebAppInfo.php | 2 +- .../Objects/{ => Telegram}/WriteAccessAllowed.php | 2 +- 99 files changed, 136 insertions(+), 136 deletions(-) rename src/TgBotLib/Objects/{ => Telegram}/Animation.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/Audio.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/BotCommand.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/BotCommandScope.php (90%) rename src/TgBotLib/Objects/{ => Telegram}/BotCommandScope/BotCommandScopeAllChatAdministrators.php (95%) rename src/TgBotLib/Objects/{ => Telegram}/BotCommandScope/BotCommandScopeAllGroupChats.php (93%) rename src/TgBotLib/Objects/{ => Telegram}/BotCommandScope/BotCommandScopeAllPrivateChats.php (93%) rename src/TgBotLib/Objects/{ => Telegram}/BotCommandScope/BotCommandScopeChat.php (95%) rename src/TgBotLib/Objects/{ => Telegram}/BotCommandScope/BotCommandScopeChatAdministrators.php (93%) rename src/TgBotLib/Objects/{ => Telegram}/BotCommandScope/BotCommandScopeChatMember.php (95%) rename src/TgBotLib/Objects/{ => Telegram}/BotCommandScope/BotCommandScopeDefault.php (93%) rename src/TgBotLib/Objects/{ => Telegram}/CallbackGame.php (94%) rename src/TgBotLib/Objects/{ => Telegram}/CallbackQuery.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/Chat.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/ChatAdministratorRights.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/ChatInviteLink.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/ChatJoinRequest.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ChatLocation.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/ChatMember.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/ChatMember/ChatMemberAdministrator.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ChatMember/ChatMemberBanned.php (94%) rename src/TgBotLib/Objects/{ => Telegram}/ChatMember/ChatMemberLeft.php (93%) rename src/TgBotLib/Objects/{ => Telegram}/ChatMember/ChatMemberMember.php (93%) rename src/TgBotLib/Objects/{ => Telegram}/ChatMember/ChatMemberOwner.php (95%) rename src/TgBotLib/Objects/{ => Telegram}/ChatMember/ChatMemberRestricted.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ChatMemberUpdated.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ChatPermissions.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/ChatPhoto.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ChatShared.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/Contact.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/Dice.php (96%) rename src/TgBotLib/Objects/{ => Telegram}/Document.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/EncryptedCredentials.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/EncryptedPassportElement.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/File.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ForceReply.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ForumTopic.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ForumTopicClosed.php (94%) rename src/TgBotLib/Objects/{ => Telegram}/ForumTopicCreated.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/ForumTopicEdited.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/ForumTopicReopened.php (94%) rename src/TgBotLib/Objects/{ => Telegram}/Game.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/GeneralForumTopicHidden.php (94%) rename src/TgBotLib/Objects/{ => Telegram}/GeneralForumTopicUnhidden.php (94%) rename src/TgBotLib/Objects/{ => Telegram}/InlineKeyboardButton.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/InlineKeyboardMarkup.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/InputMedia.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/InputMedia/InputMediaAnimation.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/InputMedia/InputMediaAudio.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/InputMedia/InputMediaDocument.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/InputMedia/InputMediaPhoto.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/InputMedia/InputMediaVideo.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/Invoice.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/KeyboardButton.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/KeyboardButtonPollType.php (96%) rename src/TgBotLib/Objects/{ => Telegram}/KeyboardButtonRequestChat.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/KeyboardButtonRequestUser.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/LabeledPrice.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/Location.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/LoginUrl.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/MaskPosition.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/MenuButton.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/MenuButton/MenuButtonCommands.php (93%) rename src/TgBotLib/Objects/{ => Telegram}/MenuButton/MenuButtonDefault.php (93%) rename src/TgBotLib/Objects/{ => Telegram}/MenuButton/MenuButtonWebApp.php (94%) rename src/TgBotLib/Objects/{ => Telegram}/Message.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/MessageAutoDeleteTimerChanged.php (96%) rename src/TgBotLib/Objects/{ => Telegram}/MessageEntity.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/OrderInfo.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/PassportData.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/PassportFile.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/PhotoSize.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/Poll.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/PollAnswer.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/PollOption.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/PreCheckoutQuery.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/ProximityAlertTriggered.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ReplyKeyboardMarkup.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/ReplyKeyboardRemove.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ResponseParameters.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ShippingAddress.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/ShippingOption.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/ShippingQuery.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/Sticker.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/SuccessfulPayment.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/User.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/UserProfilePhotos.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/UserShared.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/Venue.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/Video.php (99%) rename src/TgBotLib/Objects/{ => Telegram}/VideoChatEnded.php (96%) rename src/TgBotLib/Objects/{ => Telegram}/VideoChatParticipantsInvited.php (96%) rename src/TgBotLib/Objects/{ => Telegram}/VideoChatScheduled.php (96%) rename src/TgBotLib/Objects/{ => Telegram}/VideoChatStarted.php (94%) rename src/TgBotLib/Objects/{ => Telegram}/VideoNote.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/Voice.php (98%) rename src/TgBotLib/Objects/{ => Telegram}/WebAppData.php (97%) rename src/TgBotLib/Objects/{ => Telegram}/WebAppInfo.php (96%) rename src/TgBotLib/Objects/{ => Telegram}/WriteAccessAllowed.php (95%) 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 @@