| Package | Description |
|---|---|
| pro.zackpollard.telegrambot.api.chat.inline.send.results |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultContact.InlineQueryResultContactBuilder |
InlineQueryResultContact.builder()
This builder will allow you to progressively construct this object.
|
InlineQueryResultContact.InlineQueryResultContactBuilder |
InlineQueryResultContact.InlineQueryResultContactBuilder.firstName(String firstName)
*Required*
Sets the first name of the contact to the provided value
|
InlineQueryResultContact.InlineQueryResultContactBuilder |
InlineQueryResultContact.InlineQueryResultContactBuilder.id(String id)
*Optional*
Sets the ID to the provided value.
|
InlineQueryResultContact.InlineQueryResultContactBuilder |
InlineQueryResultContact.InlineQueryResultContactBuilder.inputMessageContent(InputMessageContent inputMessageContent)
*Optional*
Sets the content you want to be sent with this result to the provided InputMessageContent object
|
InlineQueryResultContact.InlineQueryResultContactBuilder |
InlineQueryResultContact.InlineQueryResultContactBuilder.lastName(String lastName)
*Optional*
Sets the last name of the contact to the provided value
|
InlineQueryResultContact.InlineQueryResultContactBuilder |
InlineQueryResultContact.InlineQueryResultContactBuilder.phoneNumber(String phoneNumber)
*Required*
Sets the phone number of the contact to the provided value
|
InlineQueryResultContact.InlineQueryResultContactBuilder |
InlineQueryResultContact.InlineQueryResultContactBuilder.replyMarkup(InlineReplyMarkup replyMarkup)
*Optional*
Sets the inline keyboard attached to this message to the InlineReplyMarkup provided
|
InlineQueryResultContact.InlineQueryResultContactBuilder |
InlineQueryResultContact.InlineQueryResultContactBuilder.thumbHeight(int thumbHeight)
*Optional*
Sets the height of the thumbnail at the previously provided URL through
thumbUrl(URL) |
InlineQueryResultContact.InlineQueryResultContactBuilder |
InlineQueryResultContact.InlineQueryResultContactBuilder.thumbUrl(URL thumbUrl)
*Optional*
Sets the URL of the thumbnail that should show next to the result in the inline result selection pane
|
InlineQueryResultContact.InlineQueryResultContactBuilder |
InlineQueryResultContact.InlineQueryResultContactBuilder.thumbWidth(int thumbWidth)
*Optional*
Sets the width of the thumbnail at the previously provided URL through
thumbUrl(URL) |
Copyright © 2017. All rights reserved.