Property | Type | Description | |
---|---|---|---|
$from | Sender | ||
$id | string | Unique identifier for this query | |
$location | TelegramBot\Api\Types\Location | Optional. Sender location, only for bots that request user location | |
$map | array | ||
$offset | string | Offset of the results to be returned, can be controlled by the bot | |
$query | string | Text of the query | |
$requiredParams | array |
Method | Description | |
---|---|---|
getFrom ( ) : |
||
getId ( ) : string | ||
getLocation ( ) : TelegramBot\Api\Types\Location | ||
getOffset ( ) : string | ||
getQuery ( ) : string | ||
setFrom ( |
||
setId ( string $id ) | ||
setLocation ( TelegramBot\Api\Types\Location $location ) | ||
setOffset ( string $offset ) | ||
setQuery ( string $query ) |
public getLocation ( ) : TelegramBot\Api\Types\Location | ||
return | TelegramBot\Api\Types\Location |
public setLocation ( TelegramBot\Api\Types\Location $location ) | ||
$location | TelegramBot\Api\Types\Location |
protected User,TelegramBot\Api\Types $from | ||
return |
protected Location,TelegramBot\Api\Types $location | ||
return | TelegramBot\Api\Types\Location |
protected string $offset | ||
return | string |