public static class UrlPayload.Companion
@NotNull public UrlPayload getUrlPayload(@NotNull ai.tock.bot.engine.action.SendAttachment attachment)
Create an UrlPayload from an url. Uses default cache configuration.
@NotNull public UrlPayload getUrlPayload(@NotNull java.lang.String applicationId, @NotNull java.lang.String url, boolean useCache)
Create an UrlPayload from an url.
applicationId - the applicationIdurl - the urluseCache - is cache is used?