Class SendContact
- java.lang.Object
-
- com.jtelegram.api.requests.framework.AbstractTelegramRequest
-
- com.jtelegram.api.requests.framework.QueryTelegramRequest<T>
-
- com.jtelegram.api.requests.message.framework.req.SendableChatRequest<T>
-
- com.jtelegram.api.requests.message.framework.req.SendableMessageRequest<ContactMessage>
-
- com.jtelegram.api.requests.message.send.SendContact
-
- All Implemented Interfaces:
TelegramRequest
public class SendContact extends SendableMessageRequest<ContactMessage>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SendContact.SendContactBuilder
-
Field Summary
-
Fields inherited from class com.jtelegram.api.requests.framework.AbstractTelegramRequest
errorHandler, gson
-
Fields inherited from interface com.jtelegram.api.requests.framework.TelegramRequest
JSON_MEDIA_TYPE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SendContact.SendContactBuilder
builder()
java.lang.String
getFirstName()
java.lang.String
getLastName()
java.lang.String
getPhoneNumber()
java.lang.String
getVcard()
java.lang.String
toString()
-
Methods inherited from class com.jtelegram.api.requests.message.framework.req.SendableMessageRequest
getDisableNotification, getReplyMarkup, getReplyToMessageId, isValid, setReplyToMessageId
-
Methods inherited from class com.jtelegram.api.requests.message.framework.req.SendableChatRequest
canEqual, equals, getChatId, hashCode, setChatId
-
Methods inherited from class com.jtelegram.api.requests.framework.QueryTelegramRequest
handleResponse, setCallback
-
Methods inherited from class com.jtelegram.api.requests.framework.AbstractTelegramRequest
getBody, getEndPoint, handleError, handleException, serialize, setErrorHandler, validate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.jtelegram.api.requests.framework.TelegramRequest
build
-
-
-
-
Method Detail
-
builder
public static SendContact.SendContactBuilder builder()
-
getPhoneNumber
public java.lang.String getPhoneNumber()
-
getFirstName
public java.lang.String getFirstName()
-
getLastName
public java.lang.String getLastName()
-
getVcard
public java.lang.String getVcard()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-