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
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "InlineQueryResultCachedGif{" +
|
return "InlineQueryResultCachedSticker{" +
|
||||||
"type='" + type + '\'' +
|
"type='" + type + '\'' +
|
||||||
", id='" + id + '\'' +
|
", id='" + id + '\'' +
|
||||||
", gifUrl='" + stickerFileId + '\'' +
|
", sticker_file_id='" + stickerFileId + '\'' +
|
||||||
", inputMessageContent='" + inputMessageContent + '\'' +
|
", inputMessageContent='" + inputMessageContent + '\'' +
|
||||||
", replyMarkup='" + replyMarkup + '\'' +
|
", replyMarkup='" + replyMarkup + '\'' +
|
||||||
'}';
|
'}';
|
||||||
|
Loading…
Reference in New Issue
Block a user