Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F628501
Document.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
943 B
Referenced Files
None
Subscribers
None
Document.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 Document
*
* @link https://core.telegram.org/bots/api#document
*
* @method string getFileId() Unique file identifier
* @method PhotoSize getThumb() Optional. Document thumbnail as defined by sender
* @method string getFileName() Optional. Original filename as defined by sender
* @method string getMimeType() Optional. MIME type of the file as defined by sender
* @method int getFileSize() Optional. File size
*/
class
Document
extends
Entity
{
/**
* {@inheritdoc}
*/
protected
function
subEntities
(
)
{
return
[
'thumb'
=>
PhotoSize
::
class
,
]
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 15, 4:18 AM (16 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
127705
Default Alt Text
Document.php (943 B)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline