getSingleRecipientIdentifiers(recipients, m.getSelfNumber()).stream()
.map(RecipientIdentifier.class::cast)
.collect(Collectors.toSet()));
getSingleRecipientIdentifiers(recipients, m.getSelfNumber()).stream()
.map(RecipientIdentifier.class::cast)
.collect(Collectors.toSet()));
checkSendMessageResults(results);
return results.timestamp();
} catch (AttachmentInvalidException e) {
checkSendMessageResults(results);
return results.timestamp();
} catch (AttachmentInvalidException e) {
checkSendMessageResults(results);
return results.timestamp();
} catch (IOException | InvalidStickerException e) {
checkSendMessageResults(results);
return results.timestamp();
} catch (IOException | InvalidStickerException e) {
public void quitGroup() throws Error.Failure {
try {
m.quitGroup(groupId, Set.of());
public void quitGroup() throws Error.Failure {
try {
m.quitGroup(groupId, Set.of());
} catch (IOException e) {
throw new Error.Failure(e.getMessage());
} catch (LastGroupAdminException e) {
} catch (IOException e) {
throw new Error.Failure(e.getMessage());
} catch (LastGroupAdminException e) {