diff --git a/src/TgBotLib/Objects/ForumTopicReopened.php b/src/TgBotLib/Objects/ForumTopicReopened.php new file mode 100644 index 0000000..14f26a3 --- /dev/null +++ b/src/TgBotLib/Objects/ForumTopicReopened.php @@ -0,0 +1,32 @@ +<?php + + namespace TgBotLib\Objects; + + use TgBotLib\Interfaces\ObjectTypeInterface; + + class ForumTopicReopened implements ObjectTypeInterface + { + // Note: This object represents a service message about a forum topic reopened 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(); + } + } \ No newline at end of file