Refactored Namespace

This commit is contained in:
Netkas 2023-02-14 17:41:38 -05:00
parent 45edd758a1
commit 1ef4e52a46
99 changed files with 136 additions and 136 deletions
src/TgBotLib/Objects/Telegram
Animation.phpAudio.phpBotCommand.phpBotCommandScope.php
BotCommandScope
CallbackGame.phpCallbackQuery.phpChat.phpChatAdministratorRights.phpChatInviteLink.phpChatJoinRequest.phpChatLocation.phpChatMember.php
ChatMember
ChatMemberUpdated.phpChatPermissions.phpChatPhoto.phpChatShared.phpContact.phpDice.phpDocument.phpEncryptedCredentials.phpEncryptedPassportElement.phpFile.phpForceReply.phpForumTopic.phpForumTopicClosed.phpForumTopicCreated.phpForumTopicEdited.phpForumTopicReopened.phpGame.phpGeneralForumTopicHidden.phpGeneralForumTopicUnhidden.phpInlineKeyboardButton.phpInlineKeyboardMarkup.phpInputMedia.php
InputMedia
Invoice.phpKeyboardButton.phpKeyboardButtonPollType.phpKeyboardButtonRequestChat.phpKeyboardButtonRequestUser.phpLabeledPrice.phpLocation.phpLoginUrl.phpMaskPosition.phpMenuButton.php
MenuButton
Message.phpMessageAutoDeleteTimerChanged.phpMessageEntity.phpOrderInfo.phpPassportData.phpPassportFile.phpPhotoSize.phpPoll.phpPollAnswer.phpPollOption.phpPreCheckoutQuery.phpProximityAlertTriggered.phpReplyKeyboardMarkup.phpReplyKeyboardRemove.phpResponseParameters.phpShippingAddress.phpShippingOption.phpShippingQuery.phpSticker.phpSuccessfulPayment.phpUser.phpUserProfilePhotos.phpUserShared.phpVenue.phpVideo.phpVideoChatEnded.phpVideoChatParticipantsInvited.phpVideoChatScheduled.phpVideoChatStarted.phpVideoNote.phpVoice.phpWebAppData.phpWebAppInfo.phpWriteAccessAllowed.php

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,12 +2,12 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\BotCommandScope\BotCommandScopeChat; use TgBotLib\Objects\Telegram\BotCommandScope\BotCommandScopeChat;
use TgBotLib\Objects\BotCommandScope\BotCommandScopeChatAdministrators; use TgBotLib\Objects\Telegram\BotCommandScope\BotCommandScopeChatAdministrators;
use TgBotLib\Objects\BotCommandScope\BotCommandScopeChatMember; use TgBotLib\Objects\Telegram\BotCommandScope\BotCommandScopeChatMember;
class BotCommandScope implements ObjectTypeInterface class BotCommandScope implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\BotCommandScope; namespace TgBotLib\Objects\Telegram\BotCommandScope;
use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Abstracts\BotCommandScopeType;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\BotCommandScope; use TgBotLib\Objects\Telegram\BotCommandScope;
class BotCommandScopeAllChatAdministrators implements ObjectTypeInterface class BotCommandScopeAllChatAdministrators implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\BotCommandScope; namespace TgBotLib\Objects\Telegram\BotCommandScope;
use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Abstracts\BotCommandScopeType;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\BotCommandScope; use TgBotLib\Objects\Telegram\BotCommandScope;
class BotCommandScopeAllGroupChats implements ObjectTypeInterface class BotCommandScopeAllGroupChats implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\BotCommandScope; namespace TgBotLib\Objects\Telegram\BotCommandScope;
use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Abstracts\BotCommandScopeType;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\BotCommandScope; use TgBotLib\Objects\Telegram\BotCommandScope;
class BotCommandScopeAllPrivateChats implements ObjectTypeInterface class BotCommandScopeAllPrivateChats implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\BotCommandScope; namespace TgBotLib\Objects\Telegram\BotCommandScope;
use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Abstracts\BotCommandScopeType;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\BotCommandScope; use TgBotLib\Objects\Telegram\BotCommandScope;
class BotCommandScopeChat implements ObjectTypeInterface class BotCommandScopeChat implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\BotCommandScope; namespace TgBotLib\Objects\Telegram\BotCommandScope;
use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Abstracts\BotCommandScopeType;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\BotCommandScope; use TgBotLib\Objects\Telegram\BotCommandScope;
class BotCommandScopeChatAdministrators implements ObjectTypeInterface class BotCommandScopeChatAdministrators implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\BotCommandScope; namespace TgBotLib\Objects\Telegram\BotCommandScope;
use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Abstracts\BotCommandScopeType;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\BotCommandScope; use TgBotLib\Objects\Telegram\BotCommandScope;
class BotCommandScopeChatMember implements ObjectTypeInterface class BotCommandScopeChatMember implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\BotCommandScope; namespace TgBotLib\Objects\Telegram\BotCommandScope;
use TgBotLib\Abstracts\BotCommandScopeType; use TgBotLib\Abstracts\BotCommandScopeType;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\BotCommandScope; use TgBotLib\Objects\Telegram\BotCommandScope;
class BotCommandScopeDefault implements ObjectTypeInterface class BotCommandScopeDefault implements ObjectTypeInterface
{ {

View file

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

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Abstracts\ChatType; use TgBotLib\Abstracts\ChatType;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,12 +2,12 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\ChatMember; namespace TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Abstracts\ChatMemberStatus; use TgBotLib\Abstracts\ChatMemberStatus;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\ChatMember; use TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Objects\User; use TgBotLib\Objects\Telegram\User;
class ChatMemberAdministrator implements ObjectTypeInterface class ChatMemberAdministrator implements ObjectTypeInterface
{ {

View file

@ -2,12 +2,12 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\ChatMember; namespace TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Abstracts\ChatMemberStatus; use TgBotLib\Abstracts\ChatMemberStatus;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\ChatMember; use TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Objects\User; use TgBotLib\Objects\Telegram\User;
class ChatMemberBanned implements ObjectTypeInterface class ChatMemberBanned implements ObjectTypeInterface
{ {

View file

@ -2,12 +2,12 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\ChatMember; namespace TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Abstracts\ChatMemberStatus; use TgBotLib\Abstracts\ChatMemberStatus;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\ChatMember; use TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Objects\User; use TgBotLib\Objects\Telegram\User;
class ChatMemberLeft implements ObjectTypeInterface class ChatMemberLeft implements ObjectTypeInterface
{ {

View file

@ -2,12 +2,12 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\ChatMember; namespace TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Abstracts\ChatMemberStatus; use TgBotLib\Abstracts\ChatMemberStatus;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\ChatMember; use TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Objects\User; use TgBotLib\Objects\Telegram\User;
class ChatMemberMember implements ObjectTypeInterface class ChatMemberMember implements ObjectTypeInterface
{ {

View file

@ -2,12 +2,12 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\ChatMember; namespace TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Abstracts\ChatMemberStatus; use TgBotLib\Abstracts\ChatMemberStatus;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\ChatMember; use TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Objects\User; use TgBotLib\Objects\Telegram\User;
class ChatMemberOwner implements ObjectTypeInterface class ChatMemberOwner implements ObjectTypeInterface
{ {

View file

@ -2,12 +2,12 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\ChatMember; namespace TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Abstracts\ChatMemberStatus; use TgBotLib\Abstracts\ChatMemberStatus;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\ChatMember; use TgBotLib\Objects\Telegram\ChatMember;
use TgBotLib\Objects\User; use TgBotLib\Objects\Telegram\User;
class ChatMemberRestricted implements ObjectTypeInterface class ChatMemberRestricted implements ObjectTypeInterface
{ {

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

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

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

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

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

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

View file

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

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,12 +2,12 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\InputMedia; namespace TgBotLib\Objects\Telegram\InputMedia;
use TgBotLib\Abstracts\InputMediaType; use TgBotLib\Abstracts\InputMediaType;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\InputMedia; use TgBotLib\Objects\Telegram\InputMedia;
use TgBotLib\Objects\MessageEntity; use TgBotLib\Objects\Telegram\MessageEntity;
class InputMediaAnimation implements ObjectTypeInterface class InputMediaAnimation implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\InputMedia; namespace TgBotLib\Objects\Telegram\InputMedia;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\InputMedia; use TgBotLib\Objects\Telegram\InputMedia;
use TgBotLib\Objects\MessageEntity; use TgBotLib\Objects\Telegram\MessageEntity;
class InputMediaAudio implements ObjectTypeInterface class InputMediaAudio implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\InputMedia; namespace TgBotLib\Objects\Telegram\InputMedia;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\InputMedia; use TgBotLib\Objects\Telegram\InputMedia;
use TgBotLib\Objects\MessageEntity; use TgBotLib\Objects\Telegram\MessageEntity;
class InputMediaDocument implements ObjectTypeInterface class InputMediaDocument implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\InputMedia; namespace TgBotLib\Objects\Telegram\InputMedia;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\InputMedia; use TgBotLib\Objects\Telegram\InputMedia;
use TgBotLib\Objects\MessageEntity; use TgBotLib\Objects\Telegram\MessageEntity;
class InputMediaPhoto implements ObjectTypeInterface class InputMediaPhoto implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\InputMedia; namespace TgBotLib\Objects\Telegram\InputMedia;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\InputMedia; use TgBotLib\Objects\Telegram\InputMedia;
use TgBotLib\Objects\MessageEntity; use TgBotLib\Objects\Telegram\MessageEntity;
class InputMediaVideo implements ObjectTypeInterface class InputMediaVideo implements ObjectTypeInterface
{ {

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,10 +2,10 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\MenuButton; namespace TgBotLib\Objects\Telegram\MenuButton;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\MenuButton; use TgBotLib\Objects\Telegram\MenuButton;
class MenuButtonCommands implements ObjectTypeInterface class MenuButtonCommands implements ObjectTypeInterface
{ {

View file

@ -2,10 +2,10 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\MenuButton; namespace TgBotLib\Objects\Telegram\MenuButton;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\MenuButton; use TgBotLib\Objects\Telegram\MenuButton;
class MenuButtonDefault implements ObjectTypeInterface class MenuButtonDefault implements ObjectTypeInterface
{ {

View file

@ -2,11 +2,11 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects\MenuButton; namespace TgBotLib\Objects\Telegram\MenuButton;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\MenuButton; use TgBotLib\Objects\Telegram\MenuButton;
use TgBotLib\Objects\WebAppInfo; use TgBotLib\Objects\Telegram\WebAppInfo;
class MenuButtonWebApp implements ObjectTypeInterface class MenuButtonWebApp implements ObjectTypeInterface
{ {

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

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

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

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

View file

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

View file

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

View file

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

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

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

View file

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

View file

@ -2,7 +2,7 @@
/** @noinspection PhpMissingFieldTypeInspection */ /** @noinspection PhpMissingFieldTypeInspection */
namespace TgBotLib\Objects; namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;

View file

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

View file

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

View file

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