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 chat_id, String phone_number, String first_name, Api api) Required -
Method Summary
Modifier and TypeMethodDescriptionOptionalOptionalMethods inherited from class io.github.natanimn.telebof.requests.send.SendBuilder
allowPaidBroadcast, businessConnectionId, disableNotification, disableWebPagePreview, messageEffectId, messageThreadId, parseMode, protectContent, replyMarkup, replyParameters
Methods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SendContact
-
-
Method Details
-
lastName
Optional- Parameters:
last_name
- 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
-