Page MenuHomePhabricator (Chris)

ChatOwnerLeft.php
No OneTemporary

Authored By
Unknown
Size
810 B
Referenced Files
None
Subscribers
None

ChatOwnerLeft.php

<?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 ChatOwnerLeft
*
* This object represents a service message about the chat owner leaving the chat.
*
* @link https://core.telegram.org/bots/api#chatownerleft
*
* @method User getOldOwner() User that left the chat
* @method Chat getChat() Chat
*/
class ChatOwnerLeft extends Entity
{
/**
* {@inheritdoc}
*/
protected function subEntities(): array
{
return [
'old_owner' => User::class,
'chat' => Chat::class,
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 15, 3:54 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
136568
Default Alt Text
ChatOwnerLeft.php (810 B)

Event Timeline