Class Receipt
- java.lang.Object
-
- io.github.ma1uta.matrix.server.model.federation.edu.EphemeralDataUnit<ReceiptContent>
-
- io.github.ma1uta.matrix.server.model.federation.edu.Receipt
-
public class Receipt extends EphemeralDataUnit<ReceiptContent>
An EDU representing receipt updates for users of the sending homeserver. When receiving receipts, the server should only update entries that are listed in the EDU. Receipts previously received that do not appear in the EDU should not be removed or otherwise manipulated.
-
-
Constructor Summary
Constructors Constructor Description Receipt()
-
Method Summary
Modifier and Type Method Description String
getEduType()
Required.-
Methods inherited from class io.github.ma1uta.matrix.server.model.federation.edu.EphemeralDataUnit
getContent, setContent
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
EDU type.- See Also:
- Constant Field Values
-
-
Method Detail
-
getEduType
public String getEduType()
Description copied from class:EphemeralDataUnit
Required. The type of the ephemeral message.- Specified by:
getEduType
in classEphemeralDataUnit<ReceiptContent>
- Returns:
- EDU type.
-
-