Skip to content

Type Alias: IMessageServerInvite ​

ts
type IMessageServerInvite = object;

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

A server invite carried by a direct message, as the card in it shows it.

id is set only while the invite can still be answered: accepting or declining deletes the invite itself, and the message keeps what it was for and how it ended.

Properties ​

id ​

ts
id: number | null;

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


inviteeId ​

ts
inviteeId: number | null;

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


inviterId ​

ts
inviterId: number;

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


serverIcon ​

ts
serverIcon: IMedia | null;

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


serverId ​

ts
serverId: number;

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


serverName ​

ts
serverName: string | null;

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


status ​

ts
status: ServerInviteStatus;

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

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