GetStateEvent returns the Matrix state event of a given type for a given room with a given state key If no event could be found, returns nil If there was an issue during the retrieval, returns an error
(ctx context.Context, roomID, evType, stateKey string)
| 79 | // If no event could be found, returns nil |
| 80 | // If there was an issue during the retrieval, returns an error |
| 81 | GetStateEvent(ctx context.Context, roomID, evType, stateKey string) (*gomatrixserverlib.HeaderedEvent, error) |
| 82 | // GetStateEventsForRoom fetches the state events for a given room. |
| 83 | // Returns an empty slice if no state events could be found for this room. |
| 84 | // Returns an error if there was an issue with the retrieval. |
no outgoing calls
no test coverage detected