public class MediaFileDescriptor
A file descriptor.
public MediaFileDescriptor(@NotNull
java.lang.String suffix,
@NotNull
java.lang.String name,
@NotNull
java.lang.String id,
@NotNull
ai.tock.bot.engine.action.SendAttachment.AttachmentType type)
A file descriptor.
@NotNull public MediaFile toMessage(@NotNull BotBus bus)
Creates a interface MediaMessage for the specified interface BotBus.
interface MediaMessage,
interface BotBus@NotNull public java.lang.String getSuffix()
@NotNull public java.lang.String getName()
@NotNull public java.lang.String getId()
@NotNull public ai.tock.bot.engine.action.SendAttachment.AttachmentType getType()
@NotNull public java.lang.String component1()
@NotNull public java.lang.String component2()
@NotNull public java.lang.String component3()
@NotNull public ai.tock.bot.engine.action.SendAttachment.AttachmentType component4()
@NotNull public MediaFileDescriptor copy(@NotNull java.lang.String suffix, @NotNull java.lang.String name, @NotNull java.lang.String id, @NotNull ai.tock.bot.engine.action.SendAttachment.AttachmentType type)
A file descriptor.
@NotNull public java.lang.String toString()
A file descriptor.
public int hashCode()
A file descriptor.
public boolean equals(@Nullable
java.lang.Object p)
A file descriptor.