2023-02-12 21:42:16 -05:00
|
|
|
<?php
|
|
|
|
|
2023-02-14 17:41:38 -05:00
|
|
|
namespace TgBotLib\Objects\Telegram;
|
2023-02-12 21:42:16 -05:00
|
|
|
|
|
|
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
|
|
|
|
|
|
|
class GeneralForumTopicUnhidden implements ObjectTypeInterface
|
|
|
|
{
|
|
|
|
// Note: This object represents a service message about General forum topic unhidden 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();
|
|
|
|
}
|
|
|
|
}
|