Uses of Class
io.meeds.chat.model.MatrixMessage
Packages that use MatrixMessage
-
Uses of MatrixMessage in io.meeds.chat.service
Methods in io.meeds.chat.service that return MatrixMessageModifier and TypeMethodDescriptionMatrixService.getRoomEvent(String eventId, String roomId) Retrieves the message related to the event IDMatrixService.getRoomEvent(String eventId, String roomId, String token) Retrieves the message related to the event IDMatrixService.getRoomEventAsUser(String userName, String roomId, String eventId) Reads one event back with the user's own Matrix identity, so an event of a room the administrator account cannot see (a direct message) resolves too.MatrixService.getRoomEventOrThrow(String eventId, String roomId, Duration timeout) Reads one message event with the administrator account, every request bounded bytimeout: the administrator login, when its token is not cached yet, and the read. -
Uses of MatrixMessage in io.meeds.chat.service.utils
Methods in io.meeds.chat.service.utils that return MatrixMessageModifier and TypeMethodDescriptionMatrixHttpClient.getEventById(String eventId, String roomId, String accessToken) Retrieves an event from Matrix by its Id.MatrixHttpClient.getEventById(String eventId, String roomId, String accessToken, Duration timeout) Reads one event likeMatrixHttpClient.getEventById(String, String, String), the request bounded bytimeout.Methods in io.meeds.chat.service.utils that return types with arguments of type MatrixMessageModifier and TypeMethodDescriptionMatrixHttpClient.getRoomMessages(String matrixRoomId, int limit, String accessToken) Retrieves the most recent messages of a room as the user owning the given access token, using the Matrix client API (/_matrix/client/v3/rooms/{roomId}/messages).MatrixHttpClient.getRoomMessages(String matrixRoomId, int limit, String accessToken, Duration timeout) Reads the most recent messages of a room likeMatrixHttpClient.getRoomMessages(String, int, String), the request bounded bytimeout: a timeout or a transport failure is thrown, never answered as an empty list.MatrixHttpClient.searchMessages(String query, String roomIdLocalPart, int limit, String accessToken) Runs a Matrix full-text search of message bodies as the user owning the given access token, optionally scoped to a single room.