--- title: getFile description: Returns information about a file, offline request image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Method: getFile [Back to methods index](index.md) YOU CANNOT USE THIS METHOD IN MADELINEPROTO Returns information about a file, offline request ### Parameters: | Name | Type | Description | Required | |----------|---------------|-------------|----------| |file\_id|[int](../types/int.md) | Identifier of the file to get | Yes| ### Return type: [File](../types/File.md)