for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Telegram\Bot\Objects;
/**
* Class InlineQuery.
*
* @method int getId() Unique identifier for this query.
* @method User getFrom() Sender.
* @method Location getLocation() (Optional). Sender location, only for bots that request user location.
* @method string getQuery() Text of the query.
* @method string getOffset() Offset of the results to be returned.
* @link https://core.telegram.org/bots/api#inlinequery
*/
class InlineQuery extends BaseObject
{
* {@inheritdoc}
public function relations()
return [
'from' => User::class,
'location' => Location::class,
];
}