Class InlineQueryResultContact
java.lang.Object
io.github.natanimn.telebof.types.inline.InlineQueryResultContact
- All Implemented Interfaces:
- InlineQueryResult,- Serializable
Represents a contact with a phone number. By default, this contact will be sent by the user.
 Alternatively, you can use 
inputMessageContent(io.github.natanimn.telebof.types.input.InputTextMessageContent) to send a message with the specified content instead of the contact- Since:
- 3 March 2025
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInlineQueryResultContact(String id, String phone_number, String first_name) Required
- 
Method SummaryModifier and TypeMethodDescriptioninputMessageContent(InputTextMessageContent input_message_content) OptionalOptionalreplyMarkup(InlineKeyboardMarkup keyboard) OptionalthumbnailHeight(int thumbnail_height) OptionalthumbnailUrl(String thumbnail_url) OptionalthumbnailWidth(int thumbnail_width) OptionalOptional
- 
Constructor Details- 
InlineQueryResultContact
 
- 
- 
Method Details- 
lastNameOptional- Parameters:
- last_name- Contact's last name
- Returns:
- InlineQueryResultContact
 
- 
vcardOptional- Parameters:
- vcard- Additional data about the contact in the form of a vCard, 0-2048 bytes
- Returns:
- InlineQueryResultContact
 
- 
inputMessageContentOptional- Parameters:
- input_message_content- Content of the message to be sent instead of the contact
- Returns:
- InlineQueryResultContact
 
- 
replyMarkupOptional- Parameters:
- keyboard-- Inline keyboardattached to the message
- Returns:
- InlineQueryResultContact
 
- 
thumbnailUrlOptional- Parameters:
- thumbnail_url- Url of the thumbnail for the result
- Returns:
- InlineQueryResultContact
 
- 
thumbnailWidthOptional- Parameters:
- thumbnail_width- Thumbnail width
- Returns:
- InlineQueryResultContact
 
- 
thumbnailHeightOptional- Parameters:
- thumbnail_height- Thumbnail height
- Returns:
- InlineQueryResultContact
 
 
-