getMediaAssetFromFile
Public Function
Get an asset from a file.
Parameters
Name | Description |
---|---|
|
The file. |
Returns
Promise<TLAsset>
An image or video asset partial.
Public Function
Get an asset from a file.
Name | Description |
---|---|
|
The file. |
Promise<TLAsset>
An image or video asset partial.