--- sidebar_position: 9 --- # Get file block Make file block for SendMessage method `Function GetFileBlock(Val Name, Val URL) Export` | Parameter | CLI option | Type | Description | |-|-|-|-| | Name | --title | String | Picture name | | URL | --url | String | File URL | Returns: Structure - FileBlock
:::tip Blocks at API documentation: [Link](https://dev.1c-bitrix.ru/learning/course/?COURSE_ID=93&CHAPTER_ID=07867) :::
```bsl title="Code example" ``` ```sh title="CLI command example" oint bitrix24 GetFileBlock --title %title% --url %url% ``` ```json title="Result" ```