public class SendAttachment
extends Action
A simple attachment file sent.
public SendAttachment(@NotNull
PlayerId playerId,
@NotNull
java.lang.String applicationId,
@NotNull
PlayerId recipientId,
@NotNull
java.lang.String url,
@NotNull
ai.tock.bot.engine.action.SendAttachment.AttachmentType type,
@NotNull
org.litote.kmongo.Id<ai.tock.bot.engine.action.Action> id,
@NotNull
java.time.Instant date,
@NotNull
EventState state,
@NotNull
ActionMetadata metadata)
A simple attachment file sent.
@NotNull public Message toMessage()
@NotNull public Event obfuscate(@NotNull ai.tock.shared.security.StringObfuscatorMode mode, @NotNull PlayerId playerId)
@NotNull public java.lang.String getUrl()
@NotNull public ai.tock.bot.engine.action.SendAttachment.AttachmentType getType()