Skip to content

Documentation


Documentation / @u-net/server / PostgresOfficialMessagingInboxStore

Class: PostgresOfficialMessagingInboxStore

Defined in: officialMessagingInbox.ts:101

Implements

Constructors

Constructor

new PostgresOfficialMessagingInboxStore(db): PostgresOfficialMessagingInboxStore

Defined in: officialMessagingInbox.ts:102

Parameters

db

SqlClient

Returns

PostgresOfficialMessagingInboxStore

Methods

register()

register(registration): Promise<void>

Defined in: officialMessagingInbox.ts:104

Parameters

registration

OfficialMessagingInboxRegistration

Returns

Promise<void>

Implementation of

OfficialMessagingInboxStore.register


resolve()

resolve(scopedUserId): Promise<ProviderOfficialMessagingRecipient | undefined>

Defined in: officialMessagingInbox.ts:124

Parameters

scopedUserId

string

Returns

Promise<ProviderOfficialMessagingRecipient | undefined>

Implementation of

OfficialMessagingInboxStore.resolve


retire()

retire(scopedUserId): Promise<void>

Defined in: officialMessagingInbox.ts:144

Parameters

scopedUserId

string

Returns

Promise<void>

Implementation of

OfficialMessagingInboxStore.retire