tgbotlib/src/TgBotLib/Objects/Telegram/ForumTopicClosed.php
2023-02-16 15:27:57 -05:00

32 lines
No EOL
755 B
PHP

<?php
namespace TgBotLib\Objects\Telegram;
use TgBotLib\Interfaces\ObjectTypeInterface;
class ForumTopicClosed implements ObjectTypeInterface
{
// Note: This object represents a service message about a forum topic closed in the chat.
// Currently, holds no information.
/**
* Returns array representation of object
*
* @return array
*/
public function toArray(): array
{
return [];
}
/**
* Returns object from array
*
* @param array $data
* @return ForumTopicClosed
*/
public static function fromArray(array $data): self
{
return new self();
}
}