All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.struchkov.godfather.telegram.simple.context.service.AttachmentService Maven / Gradle / Ivy

There is a newer version: 1.5.2
Show newest version
package dev.struchkov.godfather.telegram.simple.context.service;

import dev.struchkov.godfather.telegram.domain.attachment.DocumentAttachment;
import dev.struchkov.godfather.telegram.domain.attachment.Picture;
import dev.struchkov.godfather.telegram.domain.files.ByteContainer;
import dev.struchkov.godfather.telegram.domain.files.FileContainer;
import org.jetbrains.annotations.NotNull;

public interface AttachmentService {

    FileContainer uploadFile(@NotNull DocumentAttachment documentAttachment);

    ByteContainer uploadBytes(@NotNull DocumentAttachment documentAttachment);

    ByteContainer uploadBytes(@NotNull Picture picture);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy