From 58a04ba94cc6e96715cd860807d408fecfb6d5c2 Mon Sep 17 00:00:00 2001 From: netkas Date: Thu, 14 Nov 2024 22:40:27 -0500 Subject: [PATCH] Rename files and update namespaces to reflect methods --- src/TgBotLib/Enums/Methods.php | 4 ++-- src/TgBotLib/{Objects => Methods}/GetCustomEmojiStickers.php | 2 +- src/TgBotLib/{Objects => Methods}/GetStickerSet.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/TgBotLib/{Objects => Methods}/GetCustomEmojiStickers.php (97%) rename src/TgBotLib/{Objects => Methods}/GetStickerSet.php (96%) diff --git a/src/TgBotLib/Enums/Methods.php b/src/TgBotLib/Enums/Methods.php index 5eabc46..4d4323e 100644 --- a/src/TgBotLib/Enums/Methods.php +++ b/src/TgBotLib/Enums/Methods.php @@ -43,6 +43,7 @@ use TgBotLib\Methods\GetChatMember; use TgBotLib\Methods\GetChatMemberCount; use TgBotLib\Methods\GetChatMenuButton; + use TgBotLib\Methods\GetCustomEmojiStickers; use TgBotLib\Methods\GetFile; use TgBotLib\Methods\GetForumTopicIconStickers; use TgBotLib\Methods\GetMe; @@ -51,6 +52,7 @@ use TgBotLib\Methods\GetMyDescription; use TgBotLib\Methods\GetMyName; use TgBotLib\Methods\GetMyShortDescription; + use TgBotLib\Methods\GetStickerSet; use TgBotLib\Methods\GetUpdates; use TgBotLib\Methods\GetUserChatBoosts; use TgBotLib\Methods\GetUserProfilePhotos; @@ -104,8 +106,6 @@ use TgBotLib\Methods\UnpinAllForumTopicMessages; use TgBotLib\Methods\UnpinAllGeneralForumTopicMessages; use TgBotLib\Methods\UnpinChatMessage; - use TgBotLib\Objects\GetCustomEmojiStickers; - use TgBotLib\Objects\GetStickerSet; enum Methods : string { diff --git a/src/TgBotLib/Objects/GetCustomEmojiStickers.php b/src/TgBotLib/Methods/GetCustomEmojiStickers.php similarity index 97% rename from src/TgBotLib/Objects/GetCustomEmojiStickers.php rename to src/TgBotLib/Methods/GetCustomEmojiStickers.php index 3a86ded..7edad48 100644 --- a/src/TgBotLib/Objects/GetCustomEmojiStickers.php +++ b/src/TgBotLib/Methods/GetCustomEmojiStickers.php @@ -1,6 +1,6 @@