Add date in photos
This commit is contained in:
parent
0010c00a0b
commit
e597baf533
@ -29,6 +29,8 @@ public class PhotoSize implements BotApiObject {
|
||||
private static final String FILESIZE_FIELD = "file_size";
|
||||
private static final String FILEPATH_FIELD = "file_path";
|
||||
|
||||
private static final String DATE_FIELD = "date";
|
||||
|
||||
@JsonProperty(FILEID_FIELD)
|
||||
private String fileId; ///< Identifier for this file, which can be used to download or reuse the file
|
||||
/**
|
||||
@ -45,4 +47,7 @@ public class PhotoSize implements BotApiObject {
|
||||
private Integer fileSize; ///< Optional. File size
|
||||
@JsonProperty(FILEPATH_FIELD)
|
||||
private String filePath; ///< Undocumented field. Optional. Can contain the path to download the file directly without calling to getFile
|
||||
|
||||
@JsonProperty(DATE_FIELD)
|
||||
private Integer date; ///< Extra. Optional.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user