1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-05-29 23:17:45 +02:00
Vitaly the Alpaca (bot) f952e7caad Main build (Jenkins)
2024-10-03 20:35:39 +03:00

850 B

sidebar_position
sidebar_position
9

Get file block

Make file block for SendMessage method

Function GetFileBlock(Val Name, Val URL) Export

Parameter CLI option Type Description
Name --title String Picture name
URL --url String File URL

Returns: Structure - FileBlock


:::tip Blocks at API documentation: Link :::

    Name = "Image";
    URL  = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";

    Result = OPI_Bitrix24.GetFileBlock(Name, URL);
    
  oint bitrix24 GetFileBlock --title %title% --url %url%