Class ThirdPartyInvite
- java.lang.Object
-
- io.github.ma1uta.matrix.server.model.federation.ThirdPartyInvite
-
public class ThirdPartyInvite extends Object
Third party invite event.
-
-
Constructor Summary
Constructors Constructor Description ThirdPartyInvite()
-
Method Summary
Modifier and Type Method Description RoomMemberContent
getContent()
String
getRoomId()
String
getSender()
String
getStateKey()
String
getType()
void
setContent(RoomMemberContent content)
void
setRoomId(String roomId)
void
setSender(String sender)
void
setStateKey(String stateKey)
void
setType(String type)
-
-
-
Field Detail
-
type
private String type
Required. The event type. Must be m.room.member
-
roomId
private String roomId
Required. The room ID the event is for. Must match the ID given in the path.
-
sender
private String sender
Required. The user ID of the user who sent the original m.room.third_party_invite event.
-
stateKey
private String stateKey
Required. The user ID of the invited user.
-
content
private RoomMemberContent content
Required. The event content
-
-
Method Detail
-
getType
public String getType()
-
setType
public void setType(String type)
-
getRoomId
public String getRoomId()
-
setRoomId
public void setRoomId(String roomId)
-
getSender
public String getSender()
-
setSender
public void setSender(String sender)
-
getStateKey
public String getStateKey()
-
setStateKey
public void setStateKey(String stateKey)
-
getContent
public RoomMemberContent getContent()
-
setContent
public void setContent(RoomMemberContent content)
-
-