Uses of Class
ch.threema.apitool.utils.ApiResponse
Packages that use ApiResponse
-
Uses of ApiResponse in ch.threema.apitool
Methods in ch.threema.apitool that return ApiResponseModifier and TypeMethodDescriptionAPIConnector.lookupCredits()APIConnector.lookupEmail(String email) Lookup an ID by email address.APIConnector.lookupPhone(String phoneNumber) Lookup an ID by phone number.ApiResponse<org.json.JSONArray> APIConnector.sendE2EBulkMessage(String[] toArr, byte[][] nonces, byte[][] boxes) ApiResponse<org.json.JSONArray> APIConnector.sendE2EBulkMessage(String[] toArr, byte[][] nonces, byte[][] boxes, Map<String, ?> options) APIConnector.sendE2EMessage(String to, byte[] nonce, byte[] box) APIConnector.sendE2EMessage(String to, byte[] nonce, byte[] box, Map<String, ?> options) APIConnector.sendTextMessageSimple(String to, String text) Send a text message with server-side encryption. -
Uses of ApiResponse in ch.threema.apitool.helpers
Methods in ch.threema.apitool.helpers that return ApiResponseModifier and TypeMethodDescriptionE2EHelper.sendBallotCreateMessage(String threemaId, byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants) Encrypt a ballot create message and send it to the given recipient.E2EHelper.sendBallotVoteMessage(String threemaId, byte[] creator, byte[] ballotId, List<VoteChoice> votes) Encrypt a ballot vote message and send it to the given recipient.E2EHelper.sendDeliveryReceipt(String threemaId, List<MessageId> ackedMessageIds, DeliveryReceipt.Type receiptType) Encrypt a delivery receipt and send it to the original sender.E2EHelper.sendFileMessage(String threemaId, File fileMessageFile) Encrypt a file message and send it to the given recipient.E2EHelper.sendFileMessage(String threemaId, File fileMessageFile, File thumbnailMessagePath, String caption) Encrypt a file message and send it to the given recipient.E2EHelper.sendFileMessage(String threemaId, File fileMessageFile, File thumbnailMessagePath, String caption, FileRenderingType renderingType) Encrypt a file message and send it to the given recipient.E2EHelper.sendFileMessage(String threemaId, File fileMessageFile, File thumbnailMessageFile, String caption, FileRenderingType renderingType, String correlationId, Map<String, Object> metadata) Encrypt a file message and send it to the given recipient.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupBallotCreateMessage(List<String> threemaIds, GroupId groupId, byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants) Encrypt a ballot create message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupBallotVoteMessage(List<String> threemaIds, byte[] creator, GroupId groupId, byte[] ballotId, List<VoteChoice> votes) Encrypt a ballot vote message and send it to the given group.ApiResponse<org.json.JSONArray> Encrypt a group create message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupDeletePhotoMessage(List<String> threemaIds, GroupId groupId) Encrypt a group delete photo message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupDeliveryReceipt(List<String> threemaIds, GroupId groupId, List<MessageId> ackedMessageIds, DeliveryReceipt.Type receiptType) Encrypt a group delivery receipt and send it to all group membersApiResponse<org.json.JSONArray> E2EHelper.sendGroupFileMessage(List<String> threemaId, GroupId groupId, File fileMessageFile) Encrypt a file message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupFileMessage(List<String> threemaId, GroupId groupId, File fileMessageFile, File thumbnailMessageFile, String caption, FileRenderingType renderingType) Encrypt a file message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupFileMessage(List<String> threemaIds, GroupId groupId, File fileMessageFile, File thumbnailMessageFile, String caption, FileRenderingType renderingType, String correlationId, Map<String, Object> metadata) Encrypt a file message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupLeaveMessage(List<String> threemaIds, GroupId groupId) Encrypt a group leave message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupLocationMessage(List<String> threemaIds, GroupId groupId, String lat, String lng, Float accuracy, String poiName, String poiAddress) Encrypt a file message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupLocationMessage(List<String> threemaIds, GroupId groupId, String lat, String lng, String poiName, String poiAddress) Encrypt a file message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupRenameMessage(List<String> threemaIds, GroupId groupId, String newGroupName) Encrypt a group rename message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupRequestSyncMsg(List<String> threemaIds, GroupId groupId) Encrypt a group request sync message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupSetPhotoMessage(List<String> threemaIds, GroupId groupId, File groupPhotoInJpg) Encrypt a group set photo message and send it to the given group.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupTextMessage(List<String> threemaIds, GroupId groupId, String text) Encrypt a file message and send it to the given group.E2EHelper.sendImageMessage(String threemaId, String imageFilePath) Deprecated.E2EHelper.sendLocationMessage(String threemaId, String lat, String lng, Float accuracy, String poiName, String poiAddress) Encrypt a text message and send it to the given recipient.E2EHelper.sendLocationMessage(String threemaId, String lat, String lng, String poiName, String poiAddress) Encrypt a text message and send it to the given recipient.E2EHelper.sendTextMessage(String threemaId, String text) Encrypt a text message and send it to the given recipient.