Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F623377
InputLocationMessageContent.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
InputLocationMessageContent.php
View Options
<?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
Longman
\
TelegramBot
\
Entities
\
InputMessageContent
;
use
Longman
\
TelegramBot
\
Entities
\
InlineQuery
\
InlineEntity
;
/**
* Class InputLocationMessageContent
*
* @link https://core.telegram.org/bots/api#inputlocationmessagecontent
*
* <code>
* $data = [
* 'latitude' => 36.0338,
* 'longitude' => 71.8601,
* 'live_period' => 900,
* ];
*
* @method float getLatitude() Latitude of the location in degrees
* @method float getLongitude() Longitude of the location in degrees
* @method int getLivePeriod() Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
*
* @method $this setLatitude(float $latitude) Latitude of the location in degrees
* @method $this setLongitude(float $longitude) Longitude of the location in degrees
* @method $this setLivePeriod(int $live_period) Optional. Period in seconds for which the location can be updated, should be between 60 and 86400.
*/
class
InputLocationMessageContent
extends
InlineEntity
implements
InputMessageContent
{
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 14, 9:11 PM (22 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
138714
Default Alt Text
InputLocationMessageContent.php (1 KB)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline