You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-06-29 00:51:51 +02:00
989 B
989 B
sidebar_position
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
:::tip
Blocks at API documentation: Link
:::
Name = "Image";
URL = "https://openyellow.neocities.org/test_data/picture.jpg";
Result = OPI_Bitrix24.GetPictureBlock(Name, URL);
oint bitrix24 GetPictureBlock --title %title% --url %url%
{
"IMAGE": {
"NAME": "Image",
"LINK": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"
}
}