Moved Objects
This commit is contained in:
parent
848a2a78e3
commit
6c67e97a4b
167 changed files with 368 additions and 373 deletions
32
src/TgBotLib/Objects/ForumTopicClosed.php
Normal file
32
src/TgBotLib/Objects/ForumTopicClosed.php
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
namespace TgBotLib\Objects;
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue