Вход Регистрация
Файл: upload/core/vendor/longman/telegram-bot/src/Entities/ChatLocation.php
Строк: 40
<?php

/**
 * This file is part of the TelegramBot package.
 *
 * (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace LongmanTelegramBotEntities;

/**
 * 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,
        ];
    }
}
Онлайн: 1
Реклама