Class IdInputFile
- java.lang.Object
-
- com.jtelegram.api.message.input.file.IdInputFile
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jtelegram.api.message.input.file.InputFile
InputFile.Serializer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetData()java.lang.StringgetIdentifier()Identifier for the InputFile If non-null, then this will use the attach protocol and call the attachTo methodstatic IdInputFileof(FileMedium medium)static IdInputFileof(java.lang.String data)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.jtelegram.api.message.input.file.InputFile
attachTo, isAttachable
-
-
-
-
Method Detail
-
getIdentifier
public java.lang.String getIdentifier()
Description copied from interface:InputFileIdentifier for the InputFile If non-null, then this will use the attach protocol and call the attachTo method- Specified by:
getIdentifierin interfaceInputFile<java.lang.String>
-
of
public static IdInputFile of(java.lang.String data)
-
of
public static IdInputFile of(FileMedium medium)
-
getData
public java.lang.String getData()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-