public class InlineQueryResultContact extends Object implements InlineQueryResult
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultContact.InlineQueryResultContactBuilder |
| Constructor and Description |
|---|
InlineQueryResultContact() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultContact.InlineQueryResultContactBuilder |
builder()
This builder will allow you to progressively construct this object.
|
String |
getFirstName()
Gets the first name of the contact
|
String |
getId()
Gets the ID of this InlineQueryResult object
|
InputMessageContent |
getInputMessageContent()
Gets the content of the message to be sent instead of the contact
|
String |
getLastName()
Gets the last name of the contact
|
String |
getPhoneNumber()
Gets the phone number of the contact
|
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
|
InlineQueryResultType |
getType()
Get the type of InlineQueryResult that this object refers to
|
public static InlineQueryResultContact.InlineQueryResultContactBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public String getPhoneNumber()
@NonNull public String getFirstName()
public String getLastName()
public InlineReplyMarkup getReplyMarkup()
public InputMessageContent getInputMessageContent()
public URL getThumbUrl()
public int getThumbWidth()
public int getThumbHeight()
Copyright © 2017. All rights reserved.