dev.struchkov.godfather.telegram.quarkus.context.service.AttachmentService Maven / Gradle / Ivy
The newest version!
package dev.struchkov.godfather.telegram.quarkus.context.service;
import dev.struchkov.godfather.telegram.domain.attachment.FileAttachment;
import dev.struchkov.godfather.telegram.domain.files.ByteContainer;
import dev.struchkov.godfather.telegram.domain.files.FileContainer;
import io.smallrye.mutiny.Uni;
import org.jetbrains.annotations.NotNull;
public interface AttachmentService {
Uni uploadFile(@NotNull FileAttachment documentAttachment);
Uni uploadBytes(@NotNull FileAttachment fileAttachment);
}