teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
utils
getAttributes
Function getAttributes
getAttributes
(
file
:
string
|
TypeInputFile
|
File
|
CustomFile
,
__namedParameters
:
GetAttributesParams
,
)
:
{
attrs
:
TypeDocumentAttribute
[]
;
mimeType
:
string
}
Get a list of attributes for the given file and the mime type as a tuple ([attribute], mime_type).
Parameters
file
:
string
|
TypeInputFile
|
File
|
CustomFile
__namedParameters
:
GetAttributesParams
Returns
{
attrs
:
TypeDocumentAttribute
[]
;
mimeType
:
string
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
GitHub
npm
Issues
teleproto - v1.229.0
Loading...
Get a list of attributes for the given file and the mime type as a tuple ([attribute], mime_type).