public class InlineQueryResultGif extends Object implements InlineQueryResult
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultGif.InlineQueryResultGifBuilder |
| Constructor and Description |
|---|
InlineQueryResultGif() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultGif.InlineQueryResultGifBuilder |
builder()
This builder will allow you to progressively construct this object.
|
String |
getCaption()
Gets the caption for the result
|
int |
getGifHeight()
Gets the height of the gif
|
URL |
getGifUrl()
Gets the URL of the gif
|
int |
getGifWidth()
Gets the width of the gif
|
String |
getId()
Gets the ID of this InlineQueryResult object
|
InputMessageContent |
getInputMessageContent()
Gets the content of the message to be sent instead of the gif animation
|
InlineReplyMarkup |
getReplyMarkup()
Gets the inline keyboard attached to this message
|
URL |
getThumbUrl()
Gets the URL of the thumbnail for the result
|
String |
getTitle()
Gets the title of the result
|
InlineQueryResultType |
getType()
Get the type of InlineQueryResult that this object refers to
|
public static InlineQueryResultGif.InlineQueryResultGifBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public URL getGifUrl()
public int getGifWidth()
public int getGifHeight()
@NonNull public URL getThumbUrl()
public String getTitle()
public String getCaption()
public InlineReplyMarkup getReplyMarkup()
public InputMessageContent getInputMessageContent()
Copyright © 2017. All rights reserved.