io.github.biezhi.tgbot.api.request.InlineQueryResultCachedGif Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegram-bot-api Show documentation
Show all versions of telegram-bot-api Show documentation
Telegram bot library by Java
The newest version!
package io.github.biezhi.tgbot.api.request;
import java.io.Serializable;
/**
* Stas Parshin
* 06 May 2016
*/
public class InlineQueryResultCachedGif extends InlineQueryResult implements Serializable {
private final static long serialVersionUID = 0L;
private String gif_file_id;
private String title;
private String caption;
public InlineQueryResultCachedGif(String id, String fileId) {
super("gif", id);
this.gif_file_id = fileId;
}
public InlineQueryResultCachedGif title(String title) {
this.title = title;
return this;
}
public InlineQueryResultCachedGif caption(String caption) {
this.caption = caption;
return this;
}
}