for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TelegramBot\Entities;
use TelegramBot\Entity;
/**
* Class ChatLocation
*
* Represents a location to which a chat is connected.
* @link https://core.telegram.org/bots/api#chatlocation
* @method Location getLocation() The location to which the supergroup is connected. Can't be a live location.
* @method string getAddress() Location address, 1-64 characters, as defined by the chat owner
*/
class ChatLocation extends Entity
{
* {@inheritdoc}
protected function subEntities(): array
return [
'location' => Location::class,
];
}