package
0.14.1
Repository: https://github.com/element-hq/dendrite.git
Documentation: pkg.go.dev

# Functions

DefaultEventFilter returns the default event filter used by the Matrix server if no filter is provided in the request.
DefaultFilter returns the default filter used by the Matrix server if no filter is provided in the request.
DefaultRoomEventFilter returns the default room event filter used by the Matrix server if no filter is provided in the request.
DefaultStateFilter returns the default state event filter used by the Matrix server if no filter is provided in the request.
If provided state key is a user ID (state keys beginning with @ are reserved for this purpose) fetch it's associated sender ID and use that instead.
No description provided by the author
ToClientEvent converts a single server event to a client event.
ToClientEventDefault converts a single server event to a client event.
ToClientEvents converts server events to client events.

# Constants

No description provided by the author
No description provided by the author
FormatAll will include all client event keys.
FormatSync will include only the event keys required by the /sync API.
FormatSyncFederation will include all event keys normally included in federated events.

# Structs

ClientEvent is an event which is fit for consumption by clients, in accordance with the specification.
ClientFederationFields extends a ClientEvent to contain the additional fields present in a federation event.
EventFilter is used to define filtering rules for events.
Filter is used by clients to specify how the server should filter responses to e.g.
No description provided by the author
PrevEventRef represents a reference to a previous event in a state event upgrade.
RoomEventFilter is used to define filtering rules for events in rooms.
RoomFilter is used to define filtering rules for room-related events.
StateFilter is used to define filtering rules for state events.

# Type aliases

No description provided by the author