Look up the state of a room at each event for a list of string event IDs. Returns an error if there is an error talking to the database. The length of []types.StateAtEvent is guaranteed to equal the length of eventIDs if no error is returned. Returns a types.MissingEventError if the room state for t
(ctx context.Context, eventIDs []string)
| 45 | // The length of []types.StateAtEvent is guaranteed to equal the length of eventIDs if no error is returned. |
| 46 | // Returns a types.MissingEventError if the room state for the event IDs aren't in the database |
| 47 | StateAtEventIDs(ctx context.Context, eventIDs []string) ([]types.StateAtEvent, error) |
| 48 | // Look up the numeric IDs for a list of string event types. |
| 49 | // Returns a map from string event type to numeric ID for the event type. |
| 50 | EventTypeNIDs(ctx context.Context, eventTypes []string) (map[string]types.EventTypeNID, error) |
no outgoing calls
no test coverage detected