Uses of Class
ch.threema.apitool.exceptions.ApiException
Packages that use ApiException
-
Uses of ApiException in ch.threema.apitool
Methods in ch.threema.apitool that return ApiExceptionModifier and TypeMethodDescriptionprotected ApiExceptionAPIConnector.getApiException(String operationId, HttpResponse<InputStream> response) Methods in ch.threema.apitool that throw ApiExceptionModifier and TypeMethodDescriptionAPIConnector.lookupCredits()APIConnector.lookupEmail(String email) Lookup an ID by email address.byte[]Lookup a public key by ID.APIConnector.lookupKeyCapability(String threemaId) Lookup the capabilities of a IDAPIConnector.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 ApiException in ch.threema.apitool.helpers
Methods in ch.threema.apitool.helpers that throw ApiExceptionModifier and TypeMethodDescriptionE2EHelper.receiveMessage(String threemaId, String messageId, byte[] box, byte[] nonce, Path outputFolder) Decrypt a Message and download the blobs of the Message (e.g. image or file)E2EHelper.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.