Moved Game objects

This commit is contained in:
netkas 2024-10-04 15:12:35 -04:00
parent 6c9af0b1d8
commit a84b20e0fb
5 changed files with 9 additions and 2 deletions

View file

@ -3,6 +3,7 @@
namespace TgBotLib\Objects;
use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\Games\Game;
use TgBotLib\Objects\Payments\Invoice;
use TgBotLib\Objects\Stickers\Sticker;

View file

@ -1,6 +1,6 @@
<?php
namespace TgBotLib\Objects;
namespace TgBotLib\Objects\Games;
use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -1,9 +1,12 @@
<?php
namespace TgBotLib\Objects;
namespace TgBotLib\Objects\Games;
use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\Animation;
use TgBotLib\Objects\MessageEntity;
use TgBotLib\Objects\PhotoSize;
class Game implements ObjectTypeInterface
{
@ -14,6 +17,7 @@
/**
* @var string
*
*/
private $description;

View file

@ -6,6 +6,7 @@
use InvalidArgumentException;
use TgBotLib\Classes\Validate;
use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\Games\CallbackGame;
class InlineKeyboardButton implements ObjectTypeInterface
{

View file

@ -4,6 +4,7 @@
namespace TgBotLib\Objects;
use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\Games\Game;
use TgBotLib\Objects\Passport\PassportData;
use TgBotLib\Objects\Payments\Invoice;
use TgBotLib\Objects\Payments\RefundedPayment;