BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
app.imagivibe.com
/
vendor
/
irazasyed
/
telegram-bot-sdk
/
src
/
Objects
📤 Upload
📝 New File
📁 New Folder
Close
Editing: Document.php
<?php namespace Telegram\Bot\Objects; /** * Class Document. * * @link https://core.telegram.org/bots/api#document * * @property string $fileId Unique file identifier. * @property string $fileUniqueId Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file. * @property PhotoSize|null $thumb (Optional). Document thumbnail as defined by sender. * @property string|null $fileName (Optional). Original filename as defined by sender. * @property string|null $mimeType (Optional). MIME type of the file as defined by sender. * @property int|null $fileSize (Optional). File size. */ class Document extends BaseObject { /** * {@inheritdoc} * * @return array{thumb: string} */ public function relations(): array { return [ 'thumb' => PhotoSize::class, ]; } }
Save
Cancel