mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-16 11:38:11 +02:00
43 lines
699 B
Markdown
43 lines
699 B
Markdown
---
|
|
sidebar_position: 8
|
|
---
|
|
|
|
# Get picture block
|
|
Make picture block for SendMessage method
|
|
|
|
|
|
|
|
`Function GetPictureBlock(Val Name, Val URL) Export`
|
|
|
|
| Parameter | CLI option | Type | Description |
|
|
|-|-|-|-|
|
|
| Name | --title | String | Picture name |
|
|
| URL | --url | String | URL of sending picture |
|
|
|
|
|
|
Returns: Structure - PictureBlock
|
|
|
|
<br/>
|
|
|
|
:::tip
|
|
Blocks at API documentation: [Link](https://dev.1c-bitrix.ru/learning/course/?COURSE_ID=93&CHAPTER_ID=07867)
|
|
:::
|
|
<br/>
|
|
|
|
|
|
```bsl title="Code example"
|
|
|
|
```
|
|
|
|
|
|
|
|
```sh title="CLI command example"
|
|
|
|
oint bitrix24 GetPictureBlock --title %title% --url %url%
|
|
|
|
```
|
|
|
|
```json title="Result"
|
|
|
|
```
|