Skip to content

Interface: IFederationActivityPayloads ​

Defined in: types/federation.ts:284

What each activity carries. State changes come from the instance that owns the object; friendship and profile changes from the user's home instance.

Properties ​

PropertyTypeDescriptionDefined in
channel.call.cancelledobjectnobody answered a call in a conversation, and its caller hung up: stop ringingtypes/federation.ts:314
channel.call.cancelled.callerGuidstring | null-types/federation.ts:314
channel.call.cancelled.channelGuidstring-types/federation.ts:314
channel.call.ringingobjectsomeone started a call in a conversationtypes/federation.ts:312
channel.call.ringing.callerIFederatedUser-types/federation.ts:312
channel.call.ringing.channelGuidstring-types/federation.ts:312
channel.call.userobjectsomething the owner of a call did to one of the receiver's users in it, sent to their home instance to tell their clienttypes/federation.ts:319
channel.call.user.channelGuidstring-types/federation.ts:320
channel.call.user.kindFederatedCallUserEvent-types/federation.ts:322
channel.call.user.temporary?booleanfor move_requested: they may only be there for this call, without the permission to join it themselvestypes/federation.ts:326
channel.call.user.toChannelGuid?stringfor move_requested: the channel they are asked to move totypes/federation.ts:324
channel.call.user.userGuidstring-types/federation.ts:321
channel.live.updatedobject-types/federation.ts:310
channel.live.updated.channelGuidstring-types/federation.ts:310
channel.live.updated.liveIFederatedChannelLive-types/federation.ts:310
channel.members.declinedobjectthese users, of the sender's, were brought into a conversation they would not be put in at home (a stranger's group, or with someone they blocked): the owner takes them out againtypes/federation.ts:306
channel.members.declined.channelGuidstring-types/federation.ts:306
channel.members.declined.userGuidsstring[]-types/federation.ts:306
channel.removedobjectthese users left the conversation; null userGuids means it is gonetypes/federation.ts:300
channel.removed.channelGuidstring-types/federation.ts:300
channel.removed.userGuidsstring[] | null-types/federation.ts:300
channel.snapshotobject-types/federation.ts:298
channel.snapshot.snapshotIFederatedPrivateChannelSnapshot-types/federation.ts:298
channel.typing.setobjectthe actor started or stopped typing in a channel the receiver owns; sent by their home instancetypes/federation.ts:329
channel.typing.set.channelGuidstring-types/federation.ts:329
channel.typing.set.typingboolean-types/federation.ts:329
channel.typing.updatedobjecteveryone typing in a channel, as its owner holds ittypes/federation.ts:331
channel.typing.updated.channelGuidstring-types/federation.ts:331
channel.typing.updated.usersIFederatedTypingUser[]-types/federation.ts:331
friend.acceptedobjectby accepted the request requesterGuid sent themtypes/federation.ts:290
friend.accepted.byIFederatedUser-types/federation.ts:290
friend.accepted.friendshipGuidstring-types/federation.ts:290
friend.accepted.requesterGuidstring-types/federation.ts:290
friend.removedobjectthe friendship, or the request, between the two is gonetypes/federation.ts:292
friend.removed.byGuidstring-types/federation.ts:292
friend.removed.friendshipGuidstring | null-types/federation.ts:292
friend.removed.otherGuidstring-types/federation.ts:292
friend.requestedobjectfrom asked toGuid to be friends; friendshipGuid names it on both instancestypes/federation.ts:288
friend.requested.friendshipGuidstring-types/federation.ts:288
friend.requested.fromIFederatedUser-types/federation.ts:288
friend.requested.toGuidstring-types/federation.ts:288
message.createdobject-types/federation.ts:307
message.created.authorIFederatedUser | null-types/federation.ts:307
message.created.messageIFederatedMessage-types/federation.ts:307
message.deletedobject-types/federation.ts:309
message.deleted.channelGuidstring-types/federation.ts:309
message.deleted.messageGuidstring-types/federation.ts:309
message.updatedobject-types/federation.ts:308
message.updated.messageIFederatedMessage-types/federation.ts:308
server.invite.updatedobject-types/federation.ts:297
server.invite.updated.inviteIFederatedServerInvite-types/federation.ts:297
server.removedobjectthese users left or were removed; null userGuids means the server is gonetypes/federation.ts:296
server.removed.serverGuidstring-types/federation.ts:296
server.removed.userGuidsstring[] | null-types/federation.ts:296
server.snapshotobject-types/federation.ts:293
server.snapshot.snapshotIFederatedServerSnapshot-types/federation.ts:293
server.soundboard.updatedIFederatedSoundboard-types/federation.ts:294
user.presence.updatedIFederatedPresencesomeone's presence changed; sent by their home instancetypes/federation.ts:333
user.updatedobjectsomeone's public profile changed; sent by their home instancetypes/federation.ts:286
user.updated.userIFederatedUser-types/federation.ts:286

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