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.String
getData()
java.lang.String
getIdentifier()
Identifier for the InputFile If non-null, then this will use the attach protocol and call the attachTo methodstatic IdInputFile
of(FileMedium medium)
static IdInputFile
of(java.lang.String data)
java.lang.String
toString()
-
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:InputFile
Identifier for the InputFile If non-null, then this will use the attach protocol and call the attachTo method- Specified by:
getIdentifier
in 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:
toString
in classjava.lang.Object
-
-