public class InlineQueryResultArticle extends Object implements InlineQueryResult
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultArticle.InlineQueryResultArticleBuilder |
| Constructor and Description |
|---|
InlineQueryResultArticle() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultArticle.InlineQueryResultArticleBuilder |
builder()
This builder will allow you to progressively construct this object.
|
InputMessageContent |
getContent()
Gets the content of the message to be sent
|
String |
getDescription()
Gets the description of the result
|
String |
getId()
Gets the ID of this InlineQueryResult object
|
InlineReplyMarkup |
getReplyMarkup()
Gets the inline keyboard attached to this message
|
int |
getThumbHeight()
Gets the height of the thumbnail in pixels
|
URL |
getThumbUrl()
Gets the URL of the thumbnail for the result
|
int |
getThumbWidth()
Gets the width of the thumbnail in pixels
|
String |
getTitle()
Gets the title of the result
|
InlineQueryResultType |
getType()
Get the type of InlineQueryResult that this object refers to
|
URL |
getUrl()
Gets the URL of the result
|
boolean |
isHideUrl()
Gets whether the URL should be hidden in the message
|
public static InlineQueryResultArticle.InlineQueryResultArticleBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public String getTitle()
public InputMessageContent getContent()
public InlineReplyMarkup getReplyMarkup()
public URL getUrl()
public boolean isHideUrl()
public String getDescription()
public URL getThumbUrl()
public int getThumbWidth()
public int getThumbHeight()
Copyright © 2017. All rights reserved.