Package com.vonage.client.conversations
Class MemberInitiator
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.conversations.MemberInitiator
- All Implemented Interfaces:
Jsonable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf invitedByAdmin() isfalse, returns the ID of the inviting member.If invitedByAdmin() isfalse, returns the ID of the inviting user.Whether the member was invited by an admin JWT or a user.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
MemberInitiator
protected MemberInitiator()
-
-
Method Details
-
invitedByAdmin
Whether the member was invited by an admin JWT or a user.- Returns:
trueif invited by admin JWT,falseif invited by user (joined),nullif unknown.
-
getUserId
If invitedByAdmin() isfalse, returns the ID of the inviting user.- Returns:
- The user ID that invited this member, or
nullif not applicable.
-
getMemberId
If invitedByAdmin() isfalse, returns the ID of the inviting member.- Returns:
- The member ID that sent the invite, or
nullif not applicable.
-