public static class TdApi.CleanFileName extends TdApi.Function<TdApi.Text>
Returns Text
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
fileName
File name or path to the file.
|
| Constructor and Description |
|---|
CleanFileName()
Default constructor for a function, which removes potentially dangerous characters from the name of a file.
|
CleanFileName(java.lang.String fileName)
Creates a function, which removes potentially dangerous characters from the name of a file.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String fileName
public static final int CONSTRUCTOR
public CleanFileName()
Returns Text
public CleanFileName(java.lang.String fileName)
Returns Text
fileName - File name or path to the file.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object