Moved InlineKeyboardMarkup & InlineKeyboardButton
This commit is contained in:
parent
4c0ad925d7
commit
0395f3d32a
15 changed files with 14 additions and 18 deletions
|
@ -6,9 +6,9 @@
|
||||||
use TgBotLib\Classes\Validate;
|
use TgBotLib\Classes\Validate;
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
|
|
||||||
class InlineQueryResultArticle extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultArticle extends InlineQueryResult implements ObjectTypeInterface
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
use TgBotLib\Classes\Validate;
|
use TgBotLib\Classes\Validate;
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
use TgBotLib\Objects\MessageEntity;
|
use TgBotLib\Objects\MessageEntity;
|
||||||
|
|
||||||
class InlineQueryResultAudio extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultAudio extends InlineQueryResult implements ObjectTypeInterface
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
use TgBotLib\Classes\Validate;
|
use TgBotLib\Classes\Validate;
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
|
|
||||||
class InlineQueryResultContact extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultContact extends InlineQueryResult implements ObjectTypeInterface
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,10 +9,10 @@
|
||||||
use TgBotLib\Classes\Validate;
|
use TgBotLib\Classes\Validate;
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent\InputVenueMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent\InputVenueMessageContent;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
use TgBotLib\Objects\MessageEntity;
|
use TgBotLib\Objects\MessageEntity;
|
||||||
|
|
||||||
class InlineQueryResultDocument extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultDocument extends InlineQueryResult implements ObjectTypeInterface
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
|
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
|
|
||||||
class InlineQueryResultGame extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultGame extends InlineQueryResult implements ObjectTypeInterface
|
||||||
{
|
{
|
||||||
|
|
|
@ -10,9 +10,9 @@
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Enums\Types\ThumbnailMimeType;
|
use TgBotLib\Enums\Types\ThumbnailMimeType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
use TgBotLib\Objects\MessageEntity;
|
use TgBotLib\Objects\MessageEntity;
|
||||||
|
|
||||||
class InlineQueryResultGif extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultGif extends InlineQueryResult implements ObjectTypeInterface
|
||||||
|
|
|
@ -7,10 +7,10 @@
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent\InputContactMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent\InputContactMessageContent;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
|
|
||||||
class InlineQueryResultLocation extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultLocation extends InlineQueryResult implements ObjectTypeInterface
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,10 +7,10 @@
|
||||||
|
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent\InputVenueMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent\InputVenueMessageContent;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
use TgBotLib\Objects\MessageEntity;
|
use TgBotLib\Objects\MessageEntity;
|
||||||
|
|
||||||
class InlineQueryResultMpeg4Gif extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultMpeg4Gif extends InlineQueryResult implements ObjectTypeInterface
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent\InputTextMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent\InputTextMessageContent;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
use TgBotLib\Objects\MessageEntity;
|
use TgBotLib\Objects\MessageEntity;
|
||||||
|
|
||||||
class InlineQueryResultPhoto extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultPhoto extends InlineQueryResult implements ObjectTypeInterface
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
|
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent\InputVenueMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent\InputVenueMessageContent;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
|
|
||||||
class InlineQueryResultVenue extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultVenue extends InlineQueryResult implements ObjectTypeInterface
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
use TgBotLib\Objects\MessageEntity;
|
use TgBotLib\Objects\MessageEntity;
|
||||||
|
|
||||||
class InlineQueryResultVideo extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultVideo extends InlineQueryResult implements ObjectTypeInterface
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use TgBotLib\Enums\Types\InlineQueryResultType;
|
use TgBotLib\Enums\Types\InlineQueryResultType;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
use TgBotLib\Objects\Inline\InlineQueryResult;
|
use TgBotLib\Objects\Inline\InlineQueryResult;
|
||||||
use TgBotLib\Objects\Inline\InputMessageContent;
|
use TgBotLib\Objects\Inline\InputMessageContent;
|
||||||
|
use TgBotLib\Objects\InlineKeyboardMarkup;
|
||||||
use TgBotLib\Objects\MessageEntity;
|
use TgBotLib\Objects\MessageEntity;
|
||||||
|
|
||||||
class InlineQueryResultVoice extends InlineQueryResult implements ObjectTypeInterface
|
class InlineQueryResultVoice extends InlineQueryResult implements ObjectTypeInterface
|
||||||
|
|
|
@ -2,14 +2,11 @@
|
||||||
|
|
||||||
/** @noinspection PhpMissingFieldTypeInspection */
|
/** @noinspection PhpMissingFieldTypeInspection */
|
||||||
|
|
||||||
namespace TgBotLib\Objects\Inline;
|
namespace TgBotLib\Objects;
|
||||||
|
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use TgBotLib\Classes\Validate;
|
use TgBotLib\Classes\Validate;
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\CallbackGame;
|
|
||||||
use TgBotLib\Objects\LoginUrl;
|
|
||||||
use TgBotLib\Objects\WebAppInfo;
|
|
||||||
|
|
||||||
class InlineKeyboardButton implements ObjectTypeInterface
|
class InlineKeyboardButton implements ObjectTypeInterface
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
/** @noinspection PhpMissingFieldTypeInspection */
|
/** @noinspection PhpMissingFieldTypeInspection */
|
||||||
|
|
||||||
namespace TgBotLib\Objects\Inline;
|
namespace TgBotLib\Objects;
|
||||||
|
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
namespace TgBotLib\Objects;
|
namespace TgBotLib\Objects;
|
||||||
|
|
||||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||||
use TgBotLib\Objects\Inline\InlineKeyboardMarkup;
|
|
||||||
|
|
||||||
class Message extends MaybeInaccessibleMessage implements ObjectTypeInterface
|
class Message extends MaybeInaccessibleMessage implements ObjectTypeInterface
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue