Class InviteEvent
- java.lang.Object
-
- io.github.ma1uta.matrix.server.model.federation.InviteEvent
-
public class InviteEvent extends Object
Invite event.
-
-
Constructor Summary
Constructors Constructor Description InviteEvent()
-
Method Summary
Modifier and Type Method Description RoomMemberContent
getContent()
String
getOrigin()
Long
getOriginServerTs()
String
getSender()
String
getStateKey()
String
getType()
void
setContent(RoomMemberContent content)
void
setOrigin(String origin)
void
setOriginServerTs(Long originServerTs)
void
setSender(String sender)
void
setStateKey(String stateKey)
void
setType(String type)
-
-
-
Field Detail
-
sender
private String sender
Required. The matrix ID of the user who sent the original m.room.third_party_invite.
-
origin
private String origin
Required. The name of the inviting homeserver.
-
originServerTs
private Long originServerTs
Required. A timestamp added by the inviting homeserver.
-
type
private String type
Required. The value m.room.member.
-
stateKey
private String stateKey
Required. The user ID of the invited member.
-
content
private RoomMemberContent content
Required. The content of the event, matching what is available in the Client-Server API. Must include a membership of invite.
-
-
Method Detail
-
getSender
public String getSender()
-
setSender
public void setSender(String sender)
-
getOrigin
public String getOrigin()
-
setOrigin
public void setOrigin(String origin)
-
getOriginServerTs
public Long getOriginServerTs()
-
setOriginServerTs
public void setOriginServerTs(Long originServerTs)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getStateKey
public String getStateKey()
-
setStateKey
public void setStateKey(String stateKey)
-
getContent
public RoomMemberContent getContent()
-
setContent
public void setContent(RoomMemberContent content)
-
-