All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.telegram.telegrambots.api.objects.PhotoSize Maven / Gradle / Ivy

There is a newer version: 0.1.1
Show newest version
package org.telegram.telegrambots.api.objects;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Lev Nadeinsky
 * @author Ruben Bermudez
 * @brief This object represents one size of a photo or a file / sticker thumbnail.
 * @date 20 of June of 2015
 */
@Data
@EqualsAndHashCode(callSuper=true)
@ToString(callSuper=true)
public class PhotoSize extends ApiObject {
    @JsonProperty("file_id") String fileId; ///< Unique identifier for this file
    Integer width; ///< Photo width
    Integer height; ///< Photo height
    @JsonProperty("file_size") Integer fileSize; ///< Optional. File size
    @JsonProperty("file_path") String filePath; ///< Undocumented field. Optional. Can contain the path to download the file direclty without calling to getFile

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy