Skip to main content

Get comment structure

Get comment fields structure

Function GetCommentStructure(Val Clear = False) Export

ParameterCLI optionTypeRequiredDescription
Clear--emptyBooleanTrue > structure with empty valuse, False > field descriptions at values

Returns: Structure of KeyAndValue - Fields structure


1C:Enterprise/OneScript code example
    Result = OPI_Bitrix24.GetCommentStructure();
    oint bitrix24 GetCommentStructure \
--empty false
Result
{
"AUTHOR_ID": "<comment author identifier>",
"AUTHOR_NAME": "<Users name (optional)>",
"AUTHOR_EMAIL": "<Users email (optional)>",
"USE_SMILES": "<(Y|N) - parse comments for emoticons or not>",
"POST_MESSAGE": "<Message text>",
"UF_FORUM_MESSAGE_DOC": "<Array of files from disk to attach>"
}