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:
parent
fa39987a47
commit
dc23b47b23
@ -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 + '\'' +
|
||||
'}';
|
||||
|
Loading…
Reference in New Issue
Block a user