1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-06-29 00:51:51 +02:00
Files
OpenIntegrations/docs/en/md/Bitrix24/Message-management/Get-picture-block.md
Vitaly the Alpaca (bot) a7806a10ce Main build (Jenkins)
2024-10-04 13:35:56 +03:00

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"
 }
}