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:
parent
37a136adce
commit
4dc5e9e20d
2 changed files with 11 additions and 0 deletions
|
@ -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`
|
||||
|
|
10
src/TgBotLib/Abstracts/StickerFormat.php
Normal file
10
src/TgBotLib/Abstracts/StickerFormat.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Abstracts;
|
||||
|
||||
abstract class StickerFormat
|
||||
{
|
||||
const Static = 'static';
|
||||
const Animated = 'animated';
|
||||
const Video = 'video';
|
||||
}
|
Loading…
Add table
Reference in a new issue