You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-06-15 00:15:19 +02:00
38 lines
587 B
Markdown
38 lines
587 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 | Destination |
|
||
|
|-|-|-|-|
|
||
|
| 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/>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
```sh title="CLI command example"
|
||
|
|
||
|
oint bitrix24 GetPictureBlock --title %title% --url %url%
|
||
|
|
||
|
```
|
||
|
|
||
|
|