Moved Types to their own namespace
This commit is contained in:
parent
2f701a899f
commit
55e65e8948
35 changed files with 36 additions and 35 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\BotCommandScopeType;
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\BotCommandScopeType;
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\BotCommandScopeType;
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\BotCommandScopeType;
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\BotCommandScopeType;
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\BotCommandScopeType;
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\BotCommandScopeType;
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
|
||||
use TgBotLib\Enums\ChatType;
|
||||
use TgBotLib\Enums\Types\ChatType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
||||
class Chat implements ObjectTypeInterface
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\ChatMemberStatus;
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\ChatMemberStatus;
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\ChatMemberStatus;
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\ChatMemberStatus;
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\ChatMemberStatus;
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\ChatMemberStatus;
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
namespace TgBotLib\Objects\Telegram;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Enums\InlineQueryResultType;
|
||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||
use TgBotLib\Exceptions\NotImplementedException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultArticle;
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Enums\ThumbnailMimeType;
|
||||
use TgBotLib\Classes\Validate;
|
||||
use TgBotLib\Enums\Types\ThumbnailMimeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram\InputMedia;
|
||||
|
||||
use TgBotLib\Enums\InputMediaType;
|
||||
use TgBotLib\Enums\Types\InputMediaType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InputMedia;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
|
||||
use TgBotLib\Enums\StickerType;
|
||||
use TgBotLib\Enums\Types\StickerType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
||||
class StickerSet implements ObjectTypeInterface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue