User Block USER
The USER block displays the user's card within the attachment: name, avatar, and a link for navigation.

Block Parameters
|
Name |
Description |
|
NAME* |
The name displayed in the block |
|
AVATAR |
Avatar URL. Absolute URLs ( |
|
LINK |
URL for navigation when clicking on the block. It is preferable to use |
|
USER_ID |
Link to the Bitrix user |
|
CHAT_ID |
Link to the Bitrix chat |
|
BOT_ID |
Link to the Bitrix chatbot |
|
NETWORK_ID |
Link to the Bitrix24 Network user |
|
AVATAR_TYPE |
Type of avatar display. Allowed values: |
Example
How to Use Examples in Documentation
{
USER: {
NAME: 'John Smith',
AVATAR: 'https://files.shelenkov.com/bitrix/images/avatar.png',
LINK: 'https://shelenkov.com'
}
}
[
'USER' => [
'NAME' => 'John Smith',
'AVATAR' => 'https://files.shelenkov.com/bitrix/images/avatar.png',
'LINK' => 'https://shelenkov.com'
]
]