Chat Fields
Chat data that can be retrieved using the method imbot.dialog.get.
|
Name |
Description |
|
id |
Chat identifier |
|
parent_chat_id |
Parent chat identifier |
|
parent_message_id |
Parent message identifier |
|
name |
Chat name |
|
description |
Chat description |
|
owner |
Chat owner identifier |
|
extranet |
Extranet chat flag |
|
avatar |
Chat avatar URL |
|
color |
Chat color in HEX format |
|
type |
Chat type |
|
counter |
Message counter |
|
user_counter |
User counter |
|
message_count |
Number of messages in the chat |
|
unread_id |
Identifier of the first unread message |
|
restrictions |
Object with description of restrictions |
|
last_message_id |
Identifier of the last message |
|
last_id |
Identifier of the last message |
|
marked_id |
Identifier of the marked message |
|
disk_folder_id |
Identifier of the folder on Drive |
|
entity_type |
Type of the related object |
|
entity_id |
Identifier of the related object |
|
entity_data_1 |
Additional data of the object |
|
entity_data_2 |
Additional data of the object |
|
entity_data_3 |
Additional data of the object |
|
mute_list |
List of users with notifications turned off |
|
date_create |
Creation date in |
|
message_type |
Type of chat messages |
|
public |
Public identifier of the chat |
|
role |
Role of the current user in the chat |
|
entity_link |
Object with link to the entity |
|
text_field_enabled |
Is text input allowed |
|
background_id |
Identifier of the chat background |
|
permissions |
Object with chat permissions |
|
is_new |
New chat flag |
|
readed_list |
List of users who read the message |
|
manager_list |
List of chat manager identifiers |
|
last_message_views |
Information about views of the last message |
|
dialog_id |
Dialog identifier |
Restrictions Object
|
Name |
Description |
|
avatar |
Can change avatar |
|
rename |
Can rename chat |
|
extend |
Can add participants |
|
call |
Can make calls |
|
mute |
Can turn off notifications |
|
leave |
Can leave the chat |
|
leave_owner |
Can the owner leave the chat |
|
send |
Can send messages |
|
user_list |
Can get the list of participants |
Entity Link Object
|
Name |
Description |
|
type |
Type of the related object |
|
url |
Link to the related object |
|
id |
Identifier of the related object |
Permissions Object
|
Name |
Description |
|
manage_users_add |
Minimum role for adding users |
|
manage_users_delete |
Minimum role for deleting users |
|
manage_ui |
Minimum role for managing the interface |
|
manage_settings |
Minimum role for managing settings |
|
manage_messages |
Minimum role for managing messages |
|
can_post |
Minimum role for sending messages |
Readed List Item Object
|
Name |
Description |
|
user_id |
User identifier |
|
user_name |
User name |
|
message_id |
Identifier of the last read message |
|
date |
Read date in |
Last Message Views Object
|
Name |
Description |
|
message_id |
Message identifier |
|
first_viewers |
List of first viewers |
|
count_of_viewers |
Number of views |
Last Message Views First Viewers Item Object
|
Name |
Description |
|
user_id |
User identifier |
|
user_name |
User name |
|
date |
View date in |