Skip to content

Interface: IFederatedMessage ​

Defined in: types/federation.ts:211

A message as the channel's owner stored it. Mentions in content name people and roles by GUID (<@guid:user:example.com:...>), and are turned back into local ids where it lands.

Properties ​

PropertyTypeDescriptionDefined in
attachmentsIFederatedMediaRef[]files sent with it, held by the instance of whoever sent themtypes/federation.ts:229
authorGuidstring | null-types/federation.ts:214
channelGuidstring-types/federation.ts:213
contentstring-types/federation.ts:217
createdAtstring-types/federation.ts:234
guidstring-types/federation.ts:212
hiddenReasonstring | null-types/federation.ts:227
invite?IFederatedServerInvite | nullA recipient-only invitation, whose authority is its server's home instance.types/federation.ts:233
isEditedboolean-types/federation.ts:219
isUrgentboolean-types/federation.ts:220
mentionDirectUserGuidsstring[]of those, the people named directly, and those reached through a roletypes/federation.ts:225
mentionEveryoneboolean-types/federation.ts:221
mentionRoleUserGuidsstring[]-types/federation.ts:226
mentionUserGuidsstring[]everyone the message pings, however they came to be in ittypes/federation.ts:223
reactions?IFederatedReactionSnapshotAuthoritative reaction state, absent on older peers. Its version is independent of text edits.types/federation.ts:231
replyToGuidstring | null-types/federation.ts:218
systemType?"member_joined" | "calendar_event_reminder" | nullOnly channel-owner generated membership events may have no author.types/federation.ts:216
updatedAtstring-types/federation.ts:235

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