-
public final class MediaFileAn uploaded file.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringurlprivate final Stringnameprivate final SendAttachment.AttachmentTypetypeprivate final CharSequencedescription
-
Constructor Summary
Constructors Constructor Description MediaFile(String url, String name, SendAttachment.AttachmentType type, CharSequence description)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final SendAttachment.AttachmentTypecomponent3()final CharSequencecomponent4()final MediaFilecopy(String url, String name, SendAttachment.AttachmentType type, CharSequence description)final StringgetUrl()final StringgetName()final SendAttachment.AttachmentTypegetType()final CharSequencegetDescription()-
-
Constructor Detail
-
MediaFile
MediaFile(String url, String name, SendAttachment.AttachmentType type, CharSequence description)
-
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final SendAttachment.AttachmentType component3()
-
component4
final CharSequence component4()
-
copy
final MediaFile copy(String url, String name, SendAttachment.AttachmentType type, CharSequence description)
-
getType
final SendAttachment.AttachmentType getType()
-
getDescription
final CharSequence getDescription()
-
-
-
-