title |
description |
document |
document attributes, type and example |
Constructor: document
Back to constructors index
Attributes:
Name |
Type |
Required |
id |
long |
Required |
access_hash |
long |
Required |
user_id |
int |
Required |
date |
int |
Required |
file_name |
string |
Required |
mime_type |
string |
Required |
size |
int |
Required |
thumb |
PhotoSize |
Required |
dc_id |
int |
Required |
Example:
$document = ['_' => 'document', 'id' => long, 'access_hash' => long, 'user_id' => int, 'date' => int, 'file_name' => string, 'mime_type' => string, 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, ];