Skip to content

Type Alias: IChannelLastMessage ​

ts
type IChannelLastMessage = object;

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

The last thing said in a conversation, as a list of conversations previews it.

Properties ​

content ​

ts
content: string;

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

at most MAX_LAST_MESSAGE_PREVIEW characters, with mention tokens left as they are


createdAt ​

ts
createdAt: string;

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


createdBy ​

ts
createdBy: number | null;

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


hasMedia ​

ts
hasMedia: boolean;

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

it carries files; with no text, the preview says so instead


id ​

ts
id: number;

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

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