Skip to content

Documentation


Documentation / @u-net/server / PostgresOfficialMessagingInboxStore

Class: PostgresOfficialMessagingInboxStore ​

Defined in: officialMessagingInbox.ts:108

Implements ​

Constructors ​

Constructor ​

new PostgresOfficialMessagingInboxStore(db): PostgresOfficialMessagingInboxStore

Defined in: officialMessagingInbox.ts:109

Parameters ​

db ​

SqlClient

Returns ​

PostgresOfficialMessagingInboxStore

Methods ​

register() ​

register(registration): Promise<void>

Defined in: officialMessagingInbox.ts:111

Parameters ​

registration ​

OfficialMessagingInboxRegistration

Returns ​

Promise<void>

Implementation of ​

OfficialMessagingInboxStore.register


resolve() ​

resolve(scopedUserId): Promise<ProviderOfficialMessagingRecipient | undefined>

Defined in: officialMessagingInbox.ts:131

Parameters ​

scopedUserId ​

string

Returns ​

Promise<ProviderOfficialMessagingRecipient | undefined>

Implementation of ​

OfficialMessagingInboxStore.resolve


retire() ​

retire(scopedUserId): Promise<void>

Defined in: officialMessagingInbox.ts:151

Parameters ​

scopedUserId ​

string

Returns ​

Promise<void>

Implementation of ​

OfficialMessagingInboxStore.retire