32 lines
No EOL
798 B
PHP
32 lines
No EOL
798 B
PHP
<?php
|
|
|
|
namespace TgBotLib\Objects;
|
|
|
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
|
|
|
class GeneralForumTopicHidden implements ObjectTypeInterface
|
|
{
|
|
// Note: This object represents a service message about General forum topic hidden in the chat.
|
|
// Currently, holds no information.
|
|
|
|
/**
|
|
* Returns array representation of object
|
|
*
|
|
* @return array
|
|
*/
|
|
public function toArray(): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
/**
|
|
* Constructs object from an array representation
|
|
*
|
|
* @param array $data
|
|
* @return ObjectTypeInterface
|
|
*/
|
|
public static function fromArray(array $data): ObjectTypeInterface
|
|
{
|
|
return new self();
|
|
}
|
|
} |