@Path(value="/im")
public interface IInstantMessaging
Modifier and Type | Method and Description |
---|---|
java.util.List<IMMessage> |
getLastMessagesBetween(java.lang.String user1,
java.lang.String user2,
java.lang.Integer messagesCount) |
java.lang.String |
getRoster(java.lang.String jabberId) |
boolean |
isActiveUser(java.lang.String uid) |
void |
sendGroupChatHistory(java.lang.String sender,
java.lang.String groupChatId,
java.util.List<java.lang.String> recipients) |
void |
setRoster(java.lang.String jabberId,
java.lang.String data) |
@POST @Path(value="_setRoster") void setRoster(@QueryParam(value="jabberId") java.lang.String jabberId, java.lang.String data) throws ServerFault
ServerFault
@GET @Path(value="_getRoster") java.lang.String getRoster(@QueryParam(value="jabberId") java.lang.String jabberId) throws ServerFault
ServerFault
@POST @Path(value="_getLastMessagesBetween") java.util.List<IMMessage> getLastMessagesBetween(@QueryParam(value="user1") java.lang.String user1, @QueryParam(value="user2") java.lang.String user2, @QueryParam(value="messagesCount") java.lang.Integer messagesCount) throws ServerFault
ServerFault
@POST @Path(value="_sendGroupChatHistory/{groupChatId}") void sendGroupChatHistory(@QueryParam(value="sender") java.lang.String sender, @PathParam(value="groupChatId") java.lang.String groupChatId, java.util.List<java.lang.String> recipients) throws ServerFault
ServerFault
@GET @Path(value="_activeUser/{uid}") boolean isActiveUser(@PathParam(value="uid") java.lang.String uid) throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.