Moved Objects
This commit is contained in:
parent
848a2a78e3
commit
6c67e97a4b
167 changed files with 368 additions and 373 deletions
12
README.md
12
README.md
|
@ -92,7 +92,7 @@ import('net.nosial.tgbotlib');
|
|||
|
||||
$bot = new TgBotLib\BotOld('<BOT TOKEN>');
|
||||
|
||||
/** @var \TgBotLib\Objects\Telegram\Update $update */
|
||||
/** @var \TgBotLib\Objects\Update $update */
|
||||
foreach ($bot->getUpdates() as $update)
|
||||
{
|
||||
$bot->sendMessage($update->getMessage()->getChat()->getId(), 'Hello World!');
|
||||
|
@ -152,7 +152,7 @@ To implement a single-threaded bot, it's very self-explanatory, you just need to
|
|||
// Loop forever
|
||||
while(true)
|
||||
{
|
||||
/** @var \TgBotLib\Objects\Telegram\Update $update */
|
||||
/** @var \TgBotLib\Objects\Update $update */
|
||||
foreach ($bot->getUpdates() as $update)
|
||||
{
|
||||
$bot->sendMessage($update->getMessage()->getChat()->getId(), 'Hello World!');
|
||||
|
@ -261,9 +261,7 @@ all the information about the update.
|
|||
|
||||
namespace commands;
|
||||
|
||||
use TgBotLib\BotOld;
|
||||
use TgBotLib\Interfaces\CommandInterface;
|
||||
use TgBotLib\Objects\Telegram\Update;
|
||||
use TgBotLib\BotOld;use TgBotLib\Interfaces\CommandInterface;use TgBotLib\Objects\Update;
|
||||
|
||||
class StartCommand extends CommandInterface
|
||||
{
|
||||
|
@ -296,9 +294,7 @@ And the interface EventInterface is used instead of CommandInterface:
|
|||
|
||||
namespace events;
|
||||
|
||||
use TgBotLib\BotOld;
|
||||
use TgBotLib\Interfaces\EventInterface;
|
||||
use TgBotLib\Objects\Telegram\Update;
|
||||
use TgBotLib\BotOld;use TgBotLib\Interfaces\EventInterface;use TgBotLib\Objects\Update;
|
||||
|
||||
class MessageEvent implements EventInterface
|
||||
{
|
||||
|
|
|
@ -15,36 +15,36 @@
|
|||
use TgBotLib\Interfaces\CommandInterface;
|
||||
use TgBotLib\Interfaces\EventInterface;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
use TgBotLib\Objects\Telegram\BotDescription;
|
||||
use TgBotLib\Objects\Telegram\BotShortDescription;
|
||||
use TgBotLib\Objects\Telegram\Chat;
|
||||
use TgBotLib\Objects\Telegram\ChatAdministratorRights;
|
||||
use TgBotLib\Objects\Telegram\ChatInviteLink;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\File;
|
||||
use TgBotLib\Objects\Telegram\ForumTopic;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultArticle;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultAudio;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultContact;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultDocument;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultGame;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultGif;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultLocation;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultMpeg4Gif;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultPhoto;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultVenue;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultVideo;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultVoice;
|
||||
use TgBotLib\Objects\Telegram\MenuButton;
|
||||
use TgBotLib\Objects\Telegram\Message;
|
||||
use TgBotLib\Objects\Telegram\Poll;
|
||||
use TgBotLib\Objects\Telegram\SentWebAppMessage;
|
||||
use TgBotLib\Objects\Telegram\Sticker;
|
||||
use TgBotLib\Objects\Telegram\Update;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
use TgBotLib\Objects\Telegram\UserProfilePhotos;
|
||||
use TgBotLib\Objects\Telegram\WebhookInfo;
|
||||
use TgBotLib\Objects\BotCommandScope;
|
||||
use TgBotLib\Objects\BotDescription;
|
||||
use TgBotLib\Objects\BotShortDescription;
|
||||
use TgBotLib\Objects\Chat;
|
||||
use TgBotLib\Objects\ChatAdministratorRights;
|
||||
use TgBotLib\Objects\ChatInviteLink;
|
||||
use TgBotLib\Objects\ChatMember;
|
||||
use TgBotLib\Objects\File;
|
||||
use TgBotLib\Objects\ForumTopic;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultArticle;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultAudio;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultContact;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultDocument;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultGame;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultGif;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultLocation;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultMpeg4Gif;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultPhoto;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultVenue;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultVideo;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultVoice;
|
||||
use TgBotLib\Objects\MenuButton;
|
||||
use TgBotLib\Objects\Message;
|
||||
use TgBotLib\Objects\Poll;
|
||||
use TgBotLib\Objects\SentWebAppMessage;
|
||||
use TgBotLib\Objects\Sticker;
|
||||
use TgBotLib\Objects\Update;
|
||||
use TgBotLib\Objects\User;
|
||||
use TgBotLib\Objects\UserProfilePhotos;
|
||||
use TgBotLib\Objects\WebhookInfo;
|
||||
|
||||
class BotOld
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
namespace TgBotLib\Interfaces;
|
||||
|
||||
use TgBotLib\BotOld;
|
||||
use TgBotLib\Objects\Telegram\Update;
|
||||
use TgBotLib\Objects\Update;
|
||||
|
||||
interface CommandInterface
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
namespace TgBotLib\Interfaces;
|
||||
|
||||
use TgBotLib\BotOld;
|
||||
use TgBotLib\Objects\Telegram\Update;
|
||||
use TgBotLib\Objects\Update;
|
||||
|
||||
interface EventInterface
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@ namespace TgBotLib\Methods;
|
|||
use TgBotLib\Abstracts\Method;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Methods;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
use TgBotLib\Objects\User;
|
||||
|
||||
class GetMe extends Method
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@ use InvalidArgumentException;
|
|||
use TgBotLib\Abstracts\Method;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Methods;
|
||||
use TgBotLib\Objects\Telegram\Message;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
||||
class SendMessage extends Method
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Enums\Types\BackgroundFillType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BackgroundFill\BackgroundFillFreeformGradient;
|
||||
use TgBotLib\Objects\Telegram\BackgroundFill\BackgroundFillGradient;
|
||||
use TgBotLib\Objects\Telegram\BackgroundFill\BackgroundFillSolid;
|
||||
use TgBotLib\Objects\BackgroundFill\BackgroundFillFreeformGradient;
|
||||
use TgBotLib\Objects\BackgroundFill\BackgroundFillGradient;
|
||||
use TgBotLib\Objects\BackgroundFill\BackgroundFillSolid;
|
||||
|
||||
abstract class BackgroundFill implements ObjectTypeInterface
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BackgroundFill;
|
||||
namespace TgBotLib\Objects\BackgroundFill;
|
||||
|
||||
use TgBotLib\Enums\Types\BackgroundFillType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BackgroundFill;
|
||||
use TgBotLib\Objects\BackgroundFill;
|
||||
|
||||
class BackgroundFillFreeformGradient extends BackgroundFill implements ObjectTypeInterface
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BackgroundFill;
|
||||
namespace TgBotLib\Objects\BackgroundFill;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BackgroundFill;
|
||||
use TgBotLib\Objects\BackgroundFill;
|
||||
|
||||
class BackgroundFillGradient extends BackgroundFill implements ObjectTypeInterface
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BackgroundFill;
|
||||
namespace TgBotLib\Objects\BackgroundFill;
|
||||
|
||||
use TgBotLib\Enums\Types\BackgroundFillType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BackgroundFill;
|
||||
use TgBotLib\Objects\BackgroundFill;
|
||||
|
||||
class BackgroundFillSolid extends BackgroundFill implements ObjectTypeInterface
|
||||
{
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Enums\Types\BackgroundType as type;
|
||||
use TgBotLib\Objects\Telegram\BackgroundType\BackgroundTypeChatTheme;
|
||||
use TgBotLib\Objects\Telegram\BackgroundType\BackgroundTypeFill;
|
||||
use TgBotLib\Objects\Telegram\BackgroundType\BackgroundTypeWallpaper;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\BackgroundType\BackgroundTypeChatTheme;
|
||||
use TgBotLib\Objects\BackgroundType\BackgroundTypeFill;
|
||||
use TgBotLib\Objects\BackgroundType\BackgroundTypeWallpaper;
|
||||
|
||||
abstract class BackgroundType implements ObjectTypeInterface
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BackgroundType;
|
||||
namespace TgBotLib\Objects\BackgroundType;
|
||||
|
||||
use TgBotLib\Enums\Types\BackgroundType as type;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BackgroundType;
|
||||
use TgBotLib\Objects\BackgroundType;
|
||||
|
||||
class BackgroundTypeChatTheme extends BackgroundType implements ObjectTypeInterface
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BackgroundType;
|
||||
namespace TgBotLib\Objects\BackgroundType;
|
||||
|
||||
use TgBotLib\Enums\Types\BackgroundType as type;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BackgroundFill;
|
||||
use TgBotLib\Objects\Telegram\BackgroundType;
|
||||
use TgBotLib\Objects\BackgroundFill;
|
||||
use TgBotLib\Objects\BackgroundType;
|
||||
|
||||
class BackgroundTypeFill extends BackgroundType implements ObjectTypeInterface
|
||||
{
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BackgroundType;
|
||||
namespace TgBotLib\Objects\BackgroundType;
|
||||
|
||||
use TgBotLib\Enums\Types\BackgroundType as type;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BackgroundFill;
|
||||
use TgBotLib\Objects\Telegram\BackgroundType;
|
||||
use TgBotLib\Objects\Telegram\Document;
|
||||
use TgBotLib\Objects\BackgroundFill;
|
||||
use TgBotLib\Objects\BackgroundType;
|
||||
use TgBotLib\Objects\Document;
|
||||
|
||||
class BackgroundTypePattern extends BackgroundType implements ObjectTypeInterface
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BackgroundType;
|
||||
namespace TgBotLib\Objects\BackgroundType;
|
||||
|
||||
use TgBotLib\Enums\Types\BackgroundType as type;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BackgroundType;
|
||||
use TgBotLib\Objects\Telegram\Document;
|
||||
use TgBotLib\Objects\BackgroundType;
|
||||
use TgBotLib\Objects\Document;
|
||||
|
||||
class BackgroundTypeWallpaper extends BackgroundType implements ObjectTypeInterface
|
||||
{
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope\BotCommandScopeChat;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope\BotCommandScopeChatAdministrators;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope\BotCommandScopeChatMember;
|
||||
use TgBotLib\Objects\BotCommandScope\BotCommandScopeChat;
|
||||
use TgBotLib\Objects\BotCommandScope\BotCommandScopeChatAdministrators;
|
||||
use TgBotLib\Objects\BotCommandScope\BotCommandScopeChatMember;
|
||||
|
||||
class BotCommandScope implements ObjectTypeInterface
|
||||
{
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
namespace TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
use TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
class BotCommandScopeAllChatAdministrators implements ObjectTypeInterface
|
||||
{
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
namespace TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
use TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
class BotCommandScopeAllGroupChats implements ObjectTypeInterface
|
||||
{
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
namespace TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
use TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
class BotCommandScopeAllPrivateChats implements ObjectTypeInterface
|
||||
{
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
namespace TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
use TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
class BotCommandScopeChat implements ObjectTypeInterface
|
||||
{
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
namespace TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
use TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
class BotCommandScopeChatAdministrators implements ObjectTypeInterface
|
||||
{
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
namespace TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
use TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
class BotCommandScopeChatMember implements ObjectTypeInterface
|
||||
{
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
namespace TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
use TgBotLib\Enums\Types\BotCommandScopeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\BotCommandScope;
|
||||
use TgBotLib\Objects\BotCommandScope;
|
||||
|
||||
class BotCommandScopeDefault implements ObjectTypeInterface
|
||||
{
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Enums\Types\ChatType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
namespace TgBotLib\Objects\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
use TgBotLib\Objects\ChatMember;
|
||||
use TgBotLib\Objects\User;
|
||||
|
||||
class ChatMemberAdministrator implements ObjectTypeInterface
|
||||
{
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
namespace TgBotLib\Objects\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
use TgBotLib\Objects\ChatMember;
|
||||
use TgBotLib\Objects\User;
|
||||
|
||||
class ChatMemberBanned implements ObjectTypeInterface
|
||||
{
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
namespace TgBotLib\Objects\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
use TgBotLib\Objects\ChatMember;
|
||||
use TgBotLib\Objects\User;
|
||||
|
||||
class ChatMemberLeft implements ObjectTypeInterface
|
||||
{
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
namespace TgBotLib\Objects\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
use TgBotLib\Objects\ChatMember;
|
||||
use TgBotLib\Objects\User;
|
||||
|
||||
class ChatMemberMember implements ObjectTypeInterface
|
||||
{
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
namespace TgBotLib\Objects\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
use TgBotLib\Objects\ChatMember;
|
||||
use TgBotLib\Objects\User;
|
||||
|
||||
class ChatMemberOwner implements ObjectTypeInterface
|
||||
{
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\ChatMember;
|
||||
namespace TgBotLib\Objects\ChatMember;
|
||||
|
||||
use TgBotLib\Enums\Types\ChatMemberStatus;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\ChatMember;
|
||||
use TgBotLib\Objects\Telegram\User;
|
||||
use TgBotLib\Objects\ChatMember;
|
||||
use TgBotLib\Objects\User;
|
||||
|
||||
class ChatMemberRestricted implements ObjectTypeInterface
|
||||
{
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Classes\Validate;
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -1,23 +1,23 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||
use TgBotLib\Exceptions\NotImplementedException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultArticle;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultAudio;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultContact;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultDocument;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultGame;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultGif;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultLocation;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultMpeg4Gif;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultPhoto;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultVenue;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultVideo;
|
||||
use TgBotLib\Objects\Telegram\InlineQueryResult\InlineQueryResultVoice;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultArticle;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultAudio;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultContact;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultDocument;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultGame;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultGif;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultLocation;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultMpeg4Gif;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultPhoto;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultVenue;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultVideo;
|
||||
use TgBotLib\Objects\InlineQueryResult\InlineQueryResultVoice;
|
||||
|
||||
class InlineQueryResult implements ObjectTypeInterface
|
||||
{
|
|
@ -3,17 +3,17 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Classes\Validate;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InputMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent;
|
||||
|
||||
class InlineQueryResultArticle implements ObjectTypeInterface
|
||||
{
|
|
@ -3,18 +3,18 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Classes\Validate;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InlineQueryResultAudio implements ObjectTypeInterface
|
||||
{
|
|
@ -3,18 +3,18 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Classes\Validate;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InputMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent;
|
||||
|
||||
class InlineQueryResultContact implements ObjectTypeInterface
|
||||
{
|
|
@ -3,18 +3,18 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Classes\Validate;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InlineQueryResultDocument implements ObjectTypeInterface
|
||||
{
|
|
@ -3,10 +3,10 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
|
||||
class InlineQueryResultGame implements ObjectTypeInterface
|
||||
{
|
|
@ -3,19 +3,19 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Classes\Validate;
|
||||
use TgBotLib\Enums\Types\ThumbnailMimeType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InlineQueryResultGif implements ObjectTypeInterface
|
||||
{
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent;
|
||||
|
||||
class InlineQueryResultLocation implements ObjectTypeInterface
|
||||
{
|
|
@ -3,16 +3,16 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InlineQueryResultMpeg4Gif implements ObjectTypeInterface
|
||||
{
|
|
@ -3,17 +3,17 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InlineQueryResultPhoto implements ObjectTypeInterface
|
||||
{
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent;
|
||||
|
||||
class InlineQueryResultVenue implements ObjectTypeInterface
|
||||
{
|
|
@ -3,18 +3,18 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InputMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InlineQueryResultVideo implements ObjectTypeInterface
|
||||
{
|
|
@ -3,13 +3,13 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InlineQueryResult;
|
||||
namespace TgBotLib\Objects\InlineQueryResult;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||
use TgBotLib\Objects\InputMessageContent;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InlineQueryResultVoice implements ObjectTypeInterface
|
||||
{
|
||||
|
@ -59,7 +59,7 @@
|
|||
private $reply_markup;
|
||||
|
||||
/**
|
||||
* @var InputMessageContent\InputContactMessageContent|InputMessageContent\InputInvoiceMessageContent|InputMessageContent\InputLocationMessageContent|InputMessageContent\InputTextMessageContent|InputMessageContent\InputVenueMessageContent|null
|
||||
* @var \TgBotLib\Objects\InputMessageContent\InputContactMessageContent|\TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent|\TgBotLib\Objects\InputMessageContent\InputLocationMessageContent|\TgBotLib\Objects\InputMessageContent\InputTextMessageContent|\TgBotLib\Objects\InputMessageContent\InputVenueMessageContent|null
|
||||
*/
|
||||
private $input_message_content;
|
||||
|
||||
|
@ -272,9 +272,9 @@
|
|||
/**
|
||||
* Optional. Content of the message to be sent instead of the voice recording
|
||||
*
|
||||
* @return InputMessageContent\InputContactMessageContent|InputMessageContent\InputInvoiceMessageContent|InputMessageContent\InputLocationMessageContent|InputMessageContent\InputTextMessageContent|InputMessageContent\InputVenueMessageContent|null
|
||||
* @return \TgBotLib\Objects\InputMessageContent\InputContactMessageContent|\TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent|\TgBotLib\Objects\InputMessageContent\InputLocationMessageContent|\TgBotLib\Objects\InputMessageContent\InputTextMessageContent|\TgBotLib\Objects\InputMessageContent\InputVenueMessageContent|null
|
||||
*/
|
||||
public function getInputMessageContent(): InputMessageContent\InputContactMessageContent|InputMessageContent\InputInvoiceMessageContent|InputMessageContent\InputLocationMessageContent|InputMessageContent\InputTextMessageContent|InputMessageContent\InputVenueMessageContent|null
|
||||
public function getInputMessageContent(): \TgBotLib\Objects\InputMessageContent\InputContactMessageContent|\TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent|\TgBotLib\Objects\InputMessageContent\InputLocationMessageContent|\TgBotLib\Objects\InputMessageContent\InputTextMessageContent|\TgBotLib\Objects\InputMessageContent\InputVenueMessageContent|null
|
||||
{
|
||||
return $this->input_message_content;
|
||||
}
|
||||
|
@ -282,10 +282,10 @@
|
|||
/**
|
||||
* Sets the input_message_content of the result.
|
||||
*
|
||||
* @param InputMessageContent\InputContactMessageContent|InputMessageContent\InputInvoiceMessageContent|InputMessageContent\InputLocationMessageContent|InputMessageContent\InputTextMessageContent|InputMessageContent\InputVenueMessageContent $input_message_content
|
||||
* @param \TgBotLib\Objects\InputMessageContent\InputContactMessageContent|\TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent|\TgBotLib\Objects\InputMessageContent\InputLocationMessageContent|\TgBotLib\Objects\InputMessageContent\InputTextMessageContent|\TgBotLib\Objects\InputMessageContent\InputVenueMessageContent $input_message_content
|
||||
* @return $this
|
||||
*/
|
||||
public function setInputMessageContent(InputMessageContent\InputContactMessageContent|InputMessageContent\InputInvoiceMessageContent|InputMessageContent\InputLocationMessageContent|InputMessageContent\InputTextMessageContent|InputMessageContent\InputVenueMessageContent $input_message_content): InlineQueryResultVoice
|
||||
public function setInputMessageContent(\TgBotLib\Objects\InputMessageContent\InputContactMessageContent|\TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent|\TgBotLib\Objects\InputMessageContent\InputLocationMessageContent|\TgBotLib\Objects\InputMessageContent\InputTextMessageContent|\TgBotLib\Objects\InputMessageContent\InputVenueMessageContent $input_message_content): InlineQueryResultVoice
|
||||
{
|
||||
$this->input_message_content = $input_message_content;
|
||||
return $this;
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InputMedia;
|
||||
namespace TgBotLib\Objects\InputMedia;
|
||||
|
||||
use TgBotLib\Enums\Types\InputMediaType;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InputMedia;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InputMedia;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InputMediaAnimation implements ObjectTypeInterface
|
||||
{
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InputMedia;
|
||||
namespace TgBotLib\Objects\InputMedia;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InputMedia;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InputMedia;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InputMediaAudio implements ObjectTypeInterface
|
||||
{
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InputMedia;
|
||||
namespace TgBotLib\Objects\InputMedia;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InputMedia;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InputMedia;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InputMediaDocument implements ObjectTypeInterface
|
||||
{
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InputMedia;
|
||||
namespace TgBotLib\Objects\InputMedia;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InputMedia;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InputMedia;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InputMediaPhoto implements ObjectTypeInterface
|
||||
{
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InputMedia;
|
||||
namespace TgBotLib\Objects\InputMedia;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InputMedia;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\InputMedia;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InputMediaVideo implements ObjectTypeInterface
|
||||
{
|
|
@ -1,15 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use LogLib\Log;
|
||||
use TgBotLib\Exceptions\NotImplementedException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\Telegram\InputMessageContent\InputVenueMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputContactMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputInvoiceMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputLocationMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputTextMessageContent;
|
||||
use TgBotLib\Objects\InputMessageContent\InputVenueMessageContent;
|
||||
|
||||
class InputMessageContent implements ObjectTypeInterface
|
||||
{
|
|
@ -3,7 +3,7 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InputMessageContent;
|
||||
namespace TgBotLib\Objects\InputMessageContent;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Classes\Validate;
|
|
@ -3,12 +3,12 @@
|
|||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
/** @noinspection PhpUnused */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InputMessageContent;
|
||||
namespace TgBotLib\Objects\InputMessageContent;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Classes\Validate;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\LabeledPrice;
|
||||
use TgBotLib\Objects\LabeledPrice;
|
||||
|
||||
class InputInvoiceMessageContent implements ObjectTypeInterface
|
||||
{
|
|
@ -3,7 +3,7 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InputMessageContent;
|
||||
namespace TgBotLib\Objects\InputMessageContent;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Classes\Validate;
|
|
@ -3,12 +3,12 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InputMessageContent;
|
||||
namespace TgBotLib\Objects\InputMessageContent;
|
||||
|
||||
use InvalidArgumentException;
|
||||
use TgBotLib\Classes\Validate;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Telegram\MessageEntity;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
||||
class InputTextMessageContent implements ObjectTypeInterface
|
||||
{
|
|
@ -3,7 +3,7 @@
|
|||
/** @noinspection PhpUnused */
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram\InputMessageContent;
|
||||
namespace TgBotLib\Objects\InputMessageContent;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace TgBotLib\Objects\Telegram;
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue