tgbotlib/src/TgBotLib/Objects/GeneralForumTopicUnhidden.php

32 lines
793 B
PHP
Raw Normal View History

<?php
2024-10-02 00:18:12 -04:00
namespace TgBotLib\Objects;
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
2023-02-16 15:27:57 -05:00
* @return GeneralForumTopicUnhidden
*/
2023-02-16 15:27:57 -05:00
public static function fromArray(array $data): self
{
return new self();
}
}