im/RemoteParties

A collection of instant messaging service subscribers. The collection is created and used by the microservice 'im'.

Subscribers are created by a script to receive inboxes bound to IM account.

Storage Type: category.

Table 1. Class fields
Field Description

id

Identifier.

account_id

Bound IM account ID.

nativeId

The original subscriber ID in an instant messaging service.

nativeName

The original name of a subscriber (FirstName LastName) or group (Title) in an instant messaging service.

nativeUsername

The original username of the subscriber/group in the instant messaging service.

firstMessageDateTime

Date-Time of the first received message from the subscriber

lastMessageDateTime

Date-Time of the last received message from the subscriber.

messageCount

A counter of the number of messages from the subscriber.

state

Subscriber Status:

  • connected - plugged in.

  • disconnected - disabled.

statusText

Deciphering the subscriber’s status.

connectedDateTime

Date-time of subscriber’s binding. For example, connection of a subscriber by his/her initialization to the bot. Makes sense only if the subscriber’s status is - 'connected'.

disconnectedDateTime

Subscriber disconnection time. For example, subscriber’s refusal to communicate with the bot. Makes sense only if the subscriber’s status is - 'disconnected'.