Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F619448
ChatOwnerChanged.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
903 B
Referenced Files
None
Subscribers
None
ChatOwnerChanged.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 ChatOwnerChanged
*
* This object represents a service message about the chat owner changing.
*
* @link https://core.telegram.org/bots/api#chatownerchanged
*
* @method User getOldOwner() User that left the chat
* @method User getNewOwner() New owner of the chat
* @method Chat getChat() Chat
*/
class
ChatOwnerChanged
extends
Entity
{
/**
* {@inheritdoc}
*/
protected
function
subEntities
(
)
:
array
{
return
[
'old_owner'
=>
User
::
class
,
'new_owner'
=>
User
::
class
,
'chat'
=>
Chat
::
class
,
]
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 14, 4:45 PM (10 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
135430
Default Alt Text
ChatOwnerChanged.php (903 B)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline