Class InputFileMessageUpdate
- java.lang.Object
-
- com.jtelegram.api.requests.framework.AbstractTelegramRequest
-
- com.jtelegram.api.requests.framework.UpdateTelegramRequest
-
- com.jtelegram.api.requests.message.framework.req.InputFileMessageUpdate
-
- All Implemented Interfaces:
InputFileRequest
,TelegramRequest
- Direct Known Subclasses:
AddSticker
,CreateNewStickerSet
,SetChatPhoto
public abstract class InputFileMessageUpdate extends UpdateTelegramRequest implements InputFileRequest
-
-
Field Summary
-
Fields inherited from class com.jtelegram.api.requests.framework.UpdateTelegramRequest
callback
-
Fields inherited from class com.jtelegram.api.requests.framework.AbstractTelegramRequest
errorHandler, gson
-
Fields inherited from interface com.jtelegram.api.message.input.file.InputFileRequest
OCTET_STREAM_TYPE
-
Fields inherited from interface com.jtelegram.api.requests.framework.TelegramRequest
JSON_MEDIA_TYPE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InputFileMessageUpdate(java.lang.String endPoint, java.util.function.Consumer<TelegramException> errorHandler, java.lang.Runnable callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description okhttp3.Request.Builder
build(TelegramBot bot)
okhttp3.Request.Builder
superBuild(TelegramBot bot)
-
Methods inherited from class com.jtelegram.api.requests.framework.UpdateTelegramRequest
handleResponse, isValid, setCallback
-
Methods inherited from class com.jtelegram.api.requests.framework.AbstractTelegramRequest
canEqual, equals, getBody, getEndPoint, handleError, handleException, hashCode, serialize, setErrorHandler, validate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.jtelegram.api.message.input.file.InputFileRequest
getBuilder, getInputFiles
-
-
-
-
Constructor Detail
-
InputFileMessageUpdate
protected InputFileMessageUpdate(java.lang.String endPoint, java.util.function.Consumer<TelegramException> errorHandler, java.lang.Runnable callback)
-
-
Method Detail
-
build
public okhttp3.Request.Builder build(TelegramBot bot)
- Specified by:
build
in interfaceTelegramRequest
-
superBuild
public okhttp3.Request.Builder superBuild(TelegramBot bot)
- Specified by:
superBuild
in interfaceInputFileRequest
-
-