for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Longman\TelegramBot\Entities;
* 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,
];
}