public class File extends Object implements IBotApiObject
| Modifier and Type | Field and Description |
|---|---|
static String |
FILEBASEURL |
| Constructor and Description |
|---|
File() |
File(org.json.JSONObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileId() |
String |
getFilePath() |
Integer |
getFileSize() |
void |
serialize(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
void |
serializeWithType(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
String |
toString() |
public static final String FILEBASEURL
public String getFileId()
public Integer getFileSize()
public String getFilePath()
public void serialize(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers)
throws IOException
serialize in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionpublic void serializeWithType(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
throws IOException
serializeWithType in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionCopyright © 2016. All rights reserved.