From 6c9af0b1d87b51d79117242439b660a6b1eb38c5 Mon Sep 17 00:00:00 2001 From: netkas Date: Fri, 4 Oct 2024 15:11:50 -0400 Subject: [PATCH] Moved Stickers --- src/TgBotLib/BotOld.php | 2 +- src/TgBotLib/Objects/BusinessIntro.php | 1 + src/TgBotLib/Objects/ExternalReplyInfo.php | 1 + src/TgBotLib/Objects/Message.php | 1 + src/TgBotLib/Objects/{ => Stickers}/MaskPosition.php | 2 +- src/TgBotLib/Objects/{ => Stickers}/Sticker.php | 4 +++- src/TgBotLib/Objects/{ => Stickers}/StickerSet.php | 3 ++- 7 files changed, 10 insertions(+), 4 deletions(-) rename src/TgBotLib/Objects/{ => Stickers}/MaskPosition.php (98%) rename src/TgBotLib/Objects/{ => Stickers}/Sticker.php (98%) rename src/TgBotLib/Objects/{ => Stickers}/StickerSet.php (98%) diff --git a/src/TgBotLib/BotOld.php b/src/TgBotLib/BotOld.php index ca8bf5d..222c74b 100644 --- a/src/TgBotLib/BotOld.php +++ b/src/TgBotLib/BotOld.php @@ -39,7 +39,7 @@ use TgBotLib\Objects\MenuButton; use TgBotLib\Objects\Message; use TgBotLib\Objects\Poll; - use TgBotLib\Objects\Sticker; + use TgBotLib\Objects\Stickers\Sticker; use TgBotLib\Objects\Update; use TgBotLib\Objects\User; use TgBotLib\Objects\UserProfilePhotos; diff --git a/src/TgBotLib/Objects/BusinessIntro.php b/src/TgBotLib/Objects/BusinessIntro.php index dabfcf7..e9e3363 100644 --- a/src/TgBotLib/Objects/BusinessIntro.php +++ b/src/TgBotLib/Objects/BusinessIntro.php @@ -3,6 +3,7 @@ namespace TgBotLib\Objects; use TgBotLib\Interfaces\ObjectTypeInterface; + use TgBotLib\Objects\Stickers\Sticker; class BusinessIntro implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/ExternalReplyInfo.php b/src/TgBotLib/Objects/ExternalReplyInfo.php index e18f56c..bb34035 100644 --- a/src/TgBotLib/Objects/ExternalReplyInfo.php +++ b/src/TgBotLib/Objects/ExternalReplyInfo.php @@ -4,6 +4,7 @@ namespace TgBotLib\Objects; use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Objects\Payments\Invoice; +use TgBotLib\Objects\Stickers\Sticker; class ExternalReplyInfo implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/Message.php b/src/TgBotLib/Objects/Message.php index f1f6aa0..69de179 100644 --- a/src/TgBotLib/Objects/Message.php +++ b/src/TgBotLib/Objects/Message.php @@ -8,6 +8,7 @@ use TgBotLib\Objects\Payments\Invoice; use TgBotLib\Objects\Payments\RefundedPayment; use TgBotLib\Objects\Payments\SuccessfulPayment; + use TgBotLib\Objects\Stickers\Sticker; class Message extends MaybeInaccessibleMessage implements ObjectTypeInterface { diff --git a/src/TgBotLib/Objects/MaskPosition.php b/src/TgBotLib/Objects/Stickers/MaskPosition.php similarity index 98% rename from src/TgBotLib/Objects/MaskPosition.php rename to src/TgBotLib/Objects/Stickers/MaskPosition.php index 82a0f9f..cd107cb 100644 --- a/src/TgBotLib/Objects/MaskPosition.php +++ b/src/TgBotLib/Objects/Stickers/MaskPosition.php @@ -1,7 +1,7 @@