Class SendContact
java.lang.Object
io.micronaut.chatbots.telegram.api.send.Send
io.micronaut.chatbots.telegram.api.send.SendContact
- Since:
- 1.0.0
- Author:
- Sergio del Amo
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@NonNull String@Nullable String@NonNull String@Nullable StringgetVcard()voidsetFirstName(@NonNull String firstName) voidsetLastName(@Nullable String lastName) voidsetPhoneNumber(@NonNull String phoneNumber) voidMethods inherited from class io.micronaut.chatbots.telegram.api.send.SendgetChatId, getDisableNotification, getMethod, getReplyMarkup, getReplyToMessageId, setChatId, setDisableNotification, setReplyMarkup, setReplyToMessageId
- 
Constructor Details- 
SendContactpublic SendContact()
 
- 
- 
Method Details- 
getPhoneNumber- Returns:
- Contact's phone number.
 
- 
setPhoneNumber- Parameters:
- phoneNumber- Contact's phone number.
 
- 
getFirstName- Returns:
- Contact's first name.
 
- 
setFirstName- Parameters:
- firstName- Contact's first name.
 
- 
getLastName- Returns:
- Contact's last name.
 
- 
setLastName- Parameters:
- lastName- Contact's last name.
 
- 
getVcard- Returns:
- Additional data about the contact in the form of a vCard, 0-2048 bytes.
 
- 
setVcard- Parameters:
- vcard- Additional data about the contact in the form of a vCard, 0-2048 bytes.
 
 
-