From 4dc5e9e20da80040d15411279ef4195baac92d33 Mon Sep 17 00:00:00 2001 From: Netkas Date: Mon, 10 Apr 2023 17:37:43 -0400 Subject: [PATCH] Added abstract class `\TgBotLib\Abstracts > StickerFormat` to represent a sticker format ("`static`", "`animated`" or "`video`") https://git.n64.cc/nosial/libs/tgbot/-/issues/2 --- CHANGELOG.md | 1 + src/TgBotLib/Abstracts/StickerFormat.php | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 src/TgBotLib/Abstracts/StickerFormat.php diff --git a/CHANGELOG.md b/CHANGELOG.md index ae7ee4e..33a471c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ This update accompanies the release of the [Telegram Bot API 6.6](https://core.t which can be obtained via `TgBotLib\Objects\Telegram > Sticker > needsRepainting()` * Added method `\TgBotLib\Bot > addStickerToSet()` to add a new sticker to a set created by the bot. See [addStickerToSet](https://core.telegram.org/bots/api#addstickertoset) for more information. + * Added abstract class `\TgBotLib\Abstracts > StickerFormat` to represent a sticker format ("`static`", "`animated`" or "`video`") ### Changed * Removed unused `__destruct()` method from `\TgBotLib\Bot` diff --git a/src/TgBotLib/Abstracts/StickerFormat.php b/src/TgBotLib/Abstracts/StickerFormat.php new file mode 100644 index 0000000..59c8402 --- /dev/null +++ b/src/TgBotLib/Abstracts/StickerFormat.php @@ -0,0 +1,10 @@ +