diff --git a/src/TgBotLib/Enums/Methods.php b/src/TgBotLib/Enums/Methods.php index e83cfea..0623aa2 100644 --- a/src/TgBotLib/Enums/Methods.php +++ b/src/TgBotLib/Enums/Methods.php @@ -20,6 +20,7 @@ use TgBotLib\Methods\CreateChatInviteLink; use TgBotLib\Methods\CreateChatSubscriptionInviteLink; use TgBotLib\Methods\CreateForumTopic; + use TgBotLib\Methods\CreateInvoiceLink; use TgBotLib\Methods\CreateNewStickerSet; use TgBotLib\Methods\DeclineChatJoinRequest; use TgBotLib\Methods\DeleteChatPhoto; @@ -121,7 +122,6 @@ use TgBotLib\Methods\UnpinAllGeneralForumTopicMessages; use TgBotLib\Methods\UnpinChatMessage; use TgBotLib\Methods\UploadStickerFile; - use TgBotLib\Objects\CreateInvoiceLink; enum Methods : string { diff --git a/src/TgBotLib/Objects/CreateInvoiceLink.php b/src/TgBotLib/Methods/CreateInvoiceLink.php similarity index 98% rename from src/TgBotLib/Objects/CreateInvoiceLink.php rename to src/TgBotLib/Methods/CreateInvoiceLink.php index 8567e21..1c153c6 100644 --- a/src/TgBotLib/Objects/CreateInvoiceLink.php +++ b/src/TgBotLib/Methods/CreateInvoiceLink.php @@ -1,6 +1,6 @@