---
sidebar_position: 9
---
# Get file block
Make file block for SendMessage method
`Function GetFileBlock(Val Name, Val URL) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| 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)
:::
```sh title="CLI command example"
oint bitrix24 GetFileBlock --title %title% --url %url%
```