From 9275f91b0208be78f0b894a89dbb9a3c97adbcf7 Mon Sep 17 00:00:00 2001 From: Michael Arlt Date: Sun, 17 Apr 2016 15:33:41 +0200 Subject: [PATCH] adding missing values --- .../telegrambots/api/objects/Sticker.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/main/java/org/telegram/telegrambots/api/objects/Sticker.java b/src/main/java/org/telegram/telegrambots/api/objects/Sticker.java index 400b1cce..7ac6b047 100644 --- a/src/main/java/org/telegram/telegrambots/api/objects/Sticker.java +++ b/src/main/java/org/telegram/telegrambots/api/objects/Sticker.java @@ -50,6 +50,26 @@ public class Sticker implements IBotApiObject { this.fileSize = jsonObject.getInt(FILESIZE_FIELD); } } + + public Integer getFileId() { + return fileId; + } + + public String getWidth() { + return width; + } + + public String getHeight() { + return height; + } + + public String getThumb() { + return thumb; + } + + public String getFileSize() { + return fileSize; + } @Override public void serialize(JsonGenerator gen, SerializerProvider serializers) throws IOException {