Updated SendAnimation
This commit is contained in:
parent
4935373cda
commit
738e6bd0f4
1 changed files with 9 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
use TgBotLib\Abstracts\Method;
|
||||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Methods;
|
||||
use TgBotLib\Exceptions\TelegramException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\Message;
|
||||
use TgBotLib\Objects\MessageEntity;
|
||||
|
@ -13,7 +14,14 @@
|
|||
class SendAnimation extends Method
|
||||
{
|
||||
/**
|
||||
* @inheritDoc
|
||||
* Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success,
|
||||
* the sent Message is returned. Bots can currently send animation files of up to 50 MB in size,
|
||||
* this limit may be changed in the future.
|
||||
*
|
||||
* @param Bot $bot
|
||||
* @param array $parameters
|
||||
* @return Message
|
||||
* @throws TelegramException
|
||||
*/
|
||||
public static function execute(Bot $bot, array $parameters = []): Message
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue