im/RemoteParties

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

Subscribers are created by the incoming message reception script bound to an IM account.

Storage type: category.

Table 1. Class fields
Field Description

id

Identifier.

account_id

Identifier of the associated IM account.

nativeId

Original subscriber identifier in the instant messaging service.

nativeName

Original subscriber name (FirstName LastName) or group name (Title) in the instant messaging service.

nativeUsername

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

Counter of messages from the subscriber.

state

Subscriber state:

  • connected - connected.

  • disconnected - disconnected.

statusText

Subscriber state description.

connectedDateTime

Date-time the subscriber was bound. For example, the subscriber connecting to the bot on their own initiative. Makes sense only if the subscriber state is 'connected'.

disconnectedDateTime

Time the subscriber was unbound. For example, the subscriber refusing communication with the bot. Makes sense only if the subscriber state is 'disconnected'.