FederationApiHandler
interface FederationApiHandler
Functions
Link copied to clipboard
abstract suspend fun backfillRoom(context: MatrixEndpointContext<BackfillRoom, Unit, PduTransaction>): PduTransaction
Link copied to clipboard
abstract suspend fun claimKeys(context: MatrixEndpointContext<ClaimKeys, ClaimKeys.Request, ClaimKeys.Response>): ClaimKeys.Response
Link copied to clipboard
abstract suspend fun downloadMedia(context: MatrixEndpointContext<DownloadMedia, Unit, Media>): Media
Link copied to clipboard
abstract suspend fun downloadThumbnail(context: MatrixEndpointContext<DownloadThumbnail, Unit, Media>): Media
Link copied to clipboard
abstract suspend fun exchangeThirdPartyInvite(context: MatrixEndpointContext<ExchangeThirdPartyInvite, Signed<PersistentDataUnit.PersistentStateDataUnit<MemberEventContent>, String>, Unit>)
Link copied to clipboard
abstract suspend fun getDevices(context: MatrixEndpointContext<GetDevices, Unit, GetDevices.Response>): GetDevices.Response
Link copied to clipboard
abstract suspend fun getEvent(context: MatrixEndpointContext<GetEvent, Unit, PduTransaction>): PduTransaction
Link copied to clipboard
abstract suspend fun getEventAuthChain(context: MatrixEndpointContext<GetEventAuthChain, Unit, GetEventAuthChain.Response>): GetEventAuthChain.Response
Link copied to clipboard
abstract suspend fun getHierarchy(context: MatrixEndpointContext<GetHierarchy, Unit, GetHierarchy.Response>): GetHierarchy.Response
Link copied to clipboard
abstract suspend fun getKeys(context: MatrixEndpointContext<GetKeys, GetKeys.Request, GetKeys.Response>): GetKeys.Response
Link copied to clipboard
abstract suspend fun getMissingEvents(context: MatrixEndpointContext<GetMissingEvents, GetMissingEvents.Request, PduTransaction>): PduTransaction
Link copied to clipboard
abstract suspend fun getOIDCUserInfo(context: MatrixEndpointContext<GetOIDCUserInfo, Unit, GetOIDCUserInfo.Response>): GetOIDCUserInfo.Response
Link copied to clipboard
abstract suspend fun getPublicRooms(context: MatrixEndpointContext<GetPublicRooms, Unit, GetPublicRoomsResponse>): GetPublicRoomsResponse
Link copied to clipboard
abstract suspend fun getPublicRoomsWithFilter(context: MatrixEndpointContext<GetPublicRoomsWithFilter, GetPublicRoomsWithFilter.Request, GetPublicRoomsResponse>): GetPublicRoomsResponse
Link copied to clipboard
abstract suspend fun getState(context: MatrixEndpointContext<GetState, Unit, GetState.Response>): GetState.Response
Link copied to clipboard
abstract suspend fun getStateIds(context: MatrixEndpointContext<GetStateIds, Unit, GetStateIds.Response>): GetStateIds.Response
Link copied to clipboard
abstract suspend fun invite(context: MatrixEndpointContext<Invite, Invite.Request, Invite.Response>): Invite.Response
Link copied to clipboard
abstract suspend fun makeJoin(context: MatrixEndpointContext<MakeJoin, Unit, MakeJoin.Response>): MakeJoin.Response
Link copied to clipboard
abstract suspend fun makeKnock(context: MatrixEndpointContext<MakeKnock, Unit, MakeKnock.Response>): MakeKnock.Response
Link copied to clipboard
abstract suspend fun makeLeave(context: MatrixEndpointContext<MakeLeave, Unit, MakeLeave.Response>): MakeLeave.Response
Link copied to clipboard
abstract suspend fun onBindThirdPid(context: MatrixEndpointContext<OnBindThirdPid, OnBindThirdPid.Request, Unit>)
Link copied to clipboard
abstract suspend fun queryDirectory(context: MatrixEndpointContext<QueryDirectory, Unit, QueryDirectory.Response>): QueryDirectory.Response
Link copied to clipboard
abstract suspend fun queryProfile(context: MatrixEndpointContext<QueryProfile, Unit, QueryProfile.Response>): QueryProfile.Response
Link copied to clipboard
abstract suspend fun sendJoin(context: MatrixEndpointContext<SendJoin, Signed<PersistentDataUnit.PersistentStateDataUnit<MemberEventContent>, String>, SendJoin.Response>): SendJoin.Response
Link copied to clipboard
abstract suspend fun sendKnock(context: MatrixEndpointContext<SendKnock, Signed<PersistentDataUnit.PersistentStateDataUnit<MemberEventContent>, String>, SendKnock.Response>): SendKnock.Response
Link copied to clipboard
abstract suspend fun sendLeave(context: MatrixEndpointContext<SendLeave, Signed<PersistentDataUnit.PersistentStateDataUnit<MemberEventContent>, String>, Unit>)
Link copied to clipboard
abstract suspend fun sendTransaction(context: MatrixEndpointContext<SendTransaction, SendTransaction.Request, SendTransaction.Response>): SendTransaction.Response
Link copied to clipboard
abstract suspend fun timestampToEvent(context: MatrixEndpointContext<TimestampToEvent, Unit, TimestampToEvent.Response>): TimestampToEvent.Response