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\Payments;
use Longman\TelegramBot\Entities\Entity;
use Longman\TelegramBot\Entities\User;
* Class ShippingQuery
* This object contains information about an incoming shipping query.
* @link https://core.telegram.org/bots/api#shippingquery
* @method string getId() Unique query identifier
* @method User getFrom() User who sent the query
* @method string getInvoicePayload() Bot specified invoice payload
* @method ShippingAddress getShippingAddress() User specified shipping address
**/
class ShippingQuery extends Entity
{
* {@inheritdoc}
public function subEntities()
return [
'user' => User::class,
'shipping_address' => ShippingAddress::class,
];
}