public class Invites
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
accept(java.lang.String inviteId)
Accept an invite
|
java.lang.String |
acceptExternal(java.lang.String inviteId,
java.lang.String key)
Accept an external invite
|
void |
add(java.lang.String threadId,
java.lang.String address)
Invite a contact to a thread
|
io.textile.pb.View.ExternalInvite |
addExternal(java.lang.String threadId)
Create an external invite, one for someone who isn't in Textile yet
|
void |
ignore(java.lang.String inviteId)
Ignore an invite
|
io.textile.pb.View.InviteViewList |
list()
View a list of pending incoming invites
|
public void add(java.lang.String threadId,
java.lang.String address)
throws java.lang.Exception
threadId - The id of the thread to invite toaddress - The address of the contact to invitejava.lang.Exception - The exception that occurredpublic io.textile.pb.View.ExternalInvite addExternal(java.lang.String threadId)
throws java.lang.Exception
threadId - The id of the thread to invite tojava.lang.Exception - The exception that occurredpublic io.textile.pb.View.InviteViewList list()
throws java.lang.Exception
java.lang.Exception - The exception that occurredpublic java.lang.String accept(java.lang.String inviteId)
throws java.lang.Exception
inviteId - The id of the invite to acceptjava.lang.Exception - The exception that occurredpublic java.lang.String acceptExternal(java.lang.String inviteId,
java.lang.String key)
throws java.lang.Exception
inviteId - The id of the external invite to acceptkey - The key associated with the external invite to acceptjava.lang.Exception - The exception that occurredpublic void ignore(java.lang.String inviteId)
throws java.lang.Exception
inviteId - The id of the invite to ignorejava.lang.Exception - The exception that occurred