system/AdminImiSubscribers

Collection of administrator chats connected to the administrator bot. One entity — one messenger chat; the entity identifier matches the chat identifier (remoteParty_id).

Created and used by the mware microservice. The entity is created when the connection code is confirmed (the system/AdminImiRequests collection) and deleted by the /stop command.

Contained only in the master domain.

Storage type: category.

If the user_id user is not a master domain administrator (admin role), the service moves the subscription to the disabled status.

Table 1. Class fields
Field Description

id

Identifier, matches remoteParty_id.

account_id

Messenger account (bot), im/Accounts collection.

remoteParty_id

Chat, im/RemoteParties collection.

channel

Messenger type: telegram, max, vk.

user_id

Master domain user who confirmed the connection.

userLogin

User login.

displayName

Interlocutor name in the messenger.

status

Reception of system state notifications:

  • active — notifications enabled;

  • paused — pause until the system state normalizes, cleared automatically;

  • disabled — notifications disabled.

silentMode

Silent notifications.

excludedKeys

System state sections not to notify about, for example certificate.

lang

Chat message language (en, ru). Empty — master domain language.

sign

Signature of key fields, set by the service. A record created or modified bypassing the service (invalid signature) is not used: the chat connects only by code.

connectedDateTime

Connection time.

statusDateTime

Time of the last status change.

lastActivityDateTime

Time of the last command from the chat.