Package com.pengrad.telegrambot.request
Class AbstractSendRequest<T extends AbstractSendRequest<T>>
- java.lang.Object
-
- com.pengrad.telegrambot.request.BaseRequest<T,SendResponse>
-
- com.pengrad.telegrambot.request.AbstractSendRequest<T>
-
- Direct Known Subclasses:
AbstractMultipartRequest
,SendContact
,SendDice
,SendGame
,SendInvoice
,SendLocation
,SendMessage
,SendPoll
,SendVenue
public abstract class AbstractSendRequest<T extends AbstractSendRequest<T>> extends BaseRequest<T,SendResponse>
stas 5/1/16.
-
-
Field Summary
-
Fields inherited from class com.pengrad.telegrambot.request.BaseRequest
thisAsT
-
-
Constructor Summary
Constructors Constructor Description AbstractSendRequest(java.lang.Object chatId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
allowSendingWithoutReply(boolean allowSendingWithoutReply)
T
disableNotification(boolean disableNotification)
T
protectContent(boolean protectContent)
T
replyMarkup(Keyboard replyMarkup)
T
replyToMessageId(int replyToMessageId)
-
Methods inherited from class com.pengrad.telegrambot.request.BaseRequest
add, addAll, getContentType, getFileName, getMethod, getParameters, getResponseType, getTimeoutSeconds, isMultipart, toWebhookResponse
-
-
-
-
Method Detail
-
disableNotification
public T disableNotification(boolean disableNotification)
-
replyToMessageId
public T replyToMessageId(int replyToMessageId)
-
allowSendingWithoutReply
public T allowSendingWithoutReply(boolean allowSendingWithoutReply)
-
protectContent
public T protectContent(boolean protectContent)
-
-