mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-18 23:48:56 +02:00
38 lines
558 B
Markdown
38 lines
558 B
Markdown
|
---
|
||
|
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
|
||
|
|
||
|
<br/>
|
||
|
|
||
|
:::tip
|
||
|
Blocks at API documentation: [Link](https://dev.1c-bitrix.ru/learning/course/?COURSE_ID=93&CHAPTER_ID=07867)
|
||
|
:::
|
||
|
<br/>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
```sh title="CLI command example"
|
||
|
|
||
|
oint bitrix24 GetFileBlock --title %title% --url %url%
|
||
|
|
||
|
```
|
||
|
|
||
|
|