Added abstract class \TgBotLib\Abstracts > StickerFormat to represent a sticker format ("static", "animated" or "video")

https://git.n64.cc/nosial/libs/tgbot/-/issues/2
This commit is contained in:
Netkas 2023-04-10 17:37:43 -04:00
parent 37a136adce
commit 4dc5e9e20d
2 changed files with 11 additions and 0 deletions

View file

@ -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`

View file

@ -0,0 +1,10 @@
<?php
namespace TgBotLib\Abstracts;
abstract class StickerFormat
{
const Static = 'static';
const Animated = 'animated';
const Video = 'video';
}