32 lines
No EOL
774 B
PHP
32 lines
No EOL
774 B
PHP
<?php
|
|
|
|
namespace TgBotLib\Objects;
|
|
|
|
use TgBotLib\Interfaces\ObjectTypeInterface;
|
|
|
|
class VideoChatStarted implements ObjectTypeInterface
|
|
{
|
|
// Note: This object represents a service message about a video chat started in the chat.
|
|
// Currently, holds no information.
|
|
|
|
/**
|
|
* Returns an array representation of the object
|
|
*
|
|
* @return array
|
|
*/
|
|
public function toArray(): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
/**
|
|
* Constructs object from an array representation
|
|
*
|
|
* @param array $data
|
|
* @return VideoChatStarted
|
|
*/
|
|
public static function fromArray(array $data): self
|
|
{
|
|
return new self();
|
|
}
|
|
} |