Skip to content

Type Alias: IMessageReference ​

ts
type IMessageReference = object;

Defined in: types/api.base.ts:808

A compact view of another message, enough to render a reply preview or a forward attribution without a second request.

unavailable is set when the referenced message has been deleted - the reference survives so the UI can say so rather than silently dropping it.

Properties ​

author ​

ts
author: IUserSimple | null;

Defined in: types/api.base.ts:812


channelId ​

ts
channelId: number | null;

Defined in: types/api.base.ts:810


channelName ​

ts
channelName: string | null;

Defined in: types/api.base.ts:811


content ​

ts
content: string;

Defined in: types/api.base.ts:814


hasAttachments ​

ts
hasAttachments: boolean;

Defined in: types/api.base.ts:815


id ​

ts
id: number | null;

Defined in: types/api.base.ts:809


unavailable ​

ts
unavailable: boolean;

Defined in: types/api.base.ts:816

Released under the GNU Affero General Public License v3.0.