diff --git a/src/TgBotLib/Objects/ExternalReplyInfo.php b/src/TgBotLib/Objects/ExternalReplyInfo.php index 6b9eedb..e18f56c 100644 --- a/src/TgBotLib/Objects/ExternalReplyInfo.php +++ b/src/TgBotLib/Objects/ExternalReplyInfo.php @@ -3,6 +3,7 @@ namespace TgBotLib\Objects; use TgBotLib\Interfaces\ObjectTypeInterface; +use TgBotLib\Objects\Payments\Invoice; class ExternalReplyInfo implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/Inline/InputMessageContent/InputInvoiceMessageContent.php b/src/TgBotLib/Objects/Inline/InputMessageContent/InputInvoiceMessageContent.php index f7976bf..3095c43 100644 --- a/src/TgBotLib/Objects/Inline/InputMessageContent/InputInvoiceMessageContent.php +++ b/src/TgBotLib/Objects/Inline/InputMessageContent/InputInvoiceMessageContent.php @@ -9,7 +9,7 @@ use TgBotLib\Enums\Types\InputMessageContentType; use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Inline\InputMessageContent; - use TgBotLib\Objects\LabeledPrice; + use TgBotLib\Objects\Payments\LabeledPrice; class InputInvoiceMessageContent extends InputMessageContent implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/Message.php b/src/TgBotLib/Objects/Message.php index dfcc062..a71d243 100644 --- a/src/TgBotLib/Objects/Message.php +++ b/src/TgBotLib/Objects/Message.php @@ -4,6 +4,9 @@ namespace TgBotLib\Objects; use TgBotLib\Interfaces\ObjectTypeInterface; + use TgBotLib\Objects\Payments\Invoice; + use TgBotLib\Objects\Payments\RefundedPayment; + use TgBotLib\Objects\Payments\SuccessfulPayment; class Message extends MaybeInaccessibleMessage implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/Invoice.php b/src/TgBotLib/Objects/Payments/Invoice.php similarity index 98% rename from src/TgBotLib/Objects/Invoice.php rename to src/TgBotLib/Objects/Payments/Invoice.php index 4f396ea..c5185e0 100644 --- a/src/TgBotLib/Objects/Invoice.php +++ b/src/TgBotLib/Objects/Payments/Invoice.php @@ -1,7 +1,7 @@