Class SendContact
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SendContact,Message>
io.github.natanimn.telebof.requests.send.SendBuilder<SendContact,Message>
io.github.natanimn.telebof.requests.send.SendContact
SendContact class. Returns sent
Message on success.- Since:
- 3 March 2025
-
Constructor Summary
ConstructorsConstructorDescriptionSendContact(Object chatId, String phoneNumber, String firstName, Api api) Required -
Method Summary
Modifier and TypeMethodDescriptionOptionalOptionalMethods inherited from class io.github.natanimn.telebof.requests.send.SendBuilder
allowPaidBroadcast, businessConnectionId, directMessagesTopicId, disableNotification, disableWebPagePreview, messageEffectId, messageThreadId, parseMode, protectContent, replyMarkup, replyParameters, suggestedPostParametersMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SendContact
Required- Parameters:
chatId- chat idphoneNumber- phone numberfirstName- first nameapi- api
-
-
Method Details
-
lastName
Optional- Parameters:
lastName- Contact's last name- Returns:
SendContact
-
vcard
Optional- Parameters:
vcard- Additional data about the contact in the form of a vCard, 0-2048 bytes- Returns:
SendContact
-