Changed the json cahed object class to Sticker

It was generating a `InlineQueryResultCachedGif` instead of `InlineQueryResultCachedSticker`, producing a wrong behavior.
This commit is contained in:
Camilo A. Sampedro Restrepo 2016-04-24 22:20:42 -05:00
parent fa39987a47
commit dc23b47b23

View File

@ -118,10 +118,10 @@ public class InlineQueryResultCachedSticker implements InlineQueryResult {
@Override
public String toString() {
return "InlineQueryResultCachedGif{" +
return "InlineQueryResultCachedSticker{" +
"type='" + type + '\'' +
", id='" + id + '\'' +
", gifUrl='" + stickerFileId + '\'' +
", sticker_file_id='" + stickerFileId + '\'' +
", inputMessageContent='" + inputMessageContent + '\'' +
", replyMarkup='" + replyMarkup + '\'' +
'}';