public class UploadedFilesService
To manage uploaded files.
public static UploadedFilesService INSTANCE
To manage uploaded files.
@NotNull
public ai.tock.bot.engine.action.SendAttachment.AttachmentType attachmentType(@NotNull
java.lang.String url)
@Nullable public MediaFileDescriptor uploadFile(@NotNull java.lang.String namespace, @NotNull java.lang.String fileName, @NotNull kotlin.Array[] bytes)
public void downloadFile(@NotNull
io.vertx.ext.web.RoutingContext context,
@NotNull
java.lang.String id,
@NotNull
java.lang.String suffix)
@Nullable
public kotlin.Array[] getFileContentFromUrl(@NotNull
java.lang.String url)
@NotNull
public java.lang.String guessContentType(@NotNull
java.lang.String fileName)