Package io.github.ma1uta.matrix.event
Class RoomMessageFeedback
- java.lang.Object
-
- io.github.ma1uta.matrix.event.Event<C>
-
- io.github.ma1uta.matrix.event.RoomEvent<RoomMessageFeedbackContent>
-
- io.github.ma1uta.matrix.event.RoomMessageFeedback
-
@Deprecated public class RoomMessageFeedback extends RoomEvent<RoomMessageFeedbackContent>
Deprecated.in favor ofReceipt
.**NB: Usage of this event is discouraged in favour of the** `receipts module`_. **Most clients will not recognise this event.** Feedback events are events sent to acknowledge a message in some way. There are two supported acknowledgements: ``delivered`` (sent when the event has been received) and ``read`` (sent when the event has been observed by the end-user). The ``target_event_id`` should reference the ``m.room.message`` event being acknowledged.
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE
Deprecated.in favor ofReceipt.TYPE
.
-
Constructor Summary
Constructors Constructor Description RoomMessageFeedback()
Deprecated.
-
Method Summary
-
Methods inherited from class io.github.ma1uta.matrix.event.RoomEvent
getEventId, getOriginServerTs, getRoomId, getSender, getUnsigned, setEventId, setOriginServerTs, setRoomId, setSender, setUnsigned
-
Methods inherited from class io.github.ma1uta.matrix.event.Event
getContent, setContent
-
-
-
-
Field Detail
-
TYPE
@Deprecated public static final String TYPE
Deprecated.in favor ofReceipt.TYPE
.NB: Usage of this event is discouraged in favour of the receipts module. Most clients will not recognise this event. Feedback events are events sent to acknowledge a message in some way. There are two supported acknowledgements: delivered (sent when the event has been received) and read (sent when the event has been observed by the end-user). The target_event_id should reference the m.room.message event being acknowledged.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
Deprecated.Description copied from class:Event
Required. The type of event. This SHOULD be namespaced similar to Java package naming conventions e.g. 'com.example.subdomain.event.type'.- Specified by:
getType
in classEvent<RoomMessageFeedbackContent>
- Returns:
- The type of the event.
-
-