Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627253
ProximityAlertTriggered.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
970 B
Referenced Files
None
Subscribers
None
ProximityAlertTriggered.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
;
/**
* Class ProximityAlertTriggered
*
* Represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.
*
* @link https://core.telegram.org/bots/api#proximityalerttriggered
*
* @method User getTraveler() User that triggered the alert
* @method User getWatcher() User that set the alert
* @method int getDistance() The distance between the users
*/
class
ProximityAlertTriggered
extends
Entity
{
/**
* {@inheritdoc}
*/
protected
function
subEntities
(
)
:
array
{
return
[
'traveler'
=>
User
::
class
,
'watcher'
=>
User
::
class
,
]
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 15, 1:48 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
119415
Default Alt Text
ProximityAlertTriggered.php (970 B)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline