Added \TgBotLib\Objects > GeneralForumTopicUnhidden
This commit is contained in:
parent
24bcfa04d5
commit
339b2d52cb
1 changed files with 32 additions and 0 deletions
32
src/TgBotLib/Objects/GeneralForumTopicUnhidden.php
Normal file
32
src/TgBotLib/Objects/GeneralForumTopicUnhidden.php
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
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
|
||||||
|
* @return ObjectTypeInterface
|
||||||
|
*/
|
||||||
|
public static function fromArray(array $data): ObjectTypeInterface
|
||||||
|
{
|
||||||
|
return new self();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue