Package org.teleight.teleightbots.api
Interface MultiPartApiMethod<R extends Serializable>
- Type Parameters:
R- the type of the response expected from the API method
- All Superinterfaces:
ApiMethod<R>
- All Known Subinterfaces:
MultiPartApiMethodBoolean,MultiPartApiMethodMessage
- All Known Implementing Classes:
AddStickerToSet,CreateNewStickerSet,EditMessageMedia,EditStory,PostStory,ReplaceStickerInSet,SendAnimation,SendAudio,SendDocument,SendMediaGroup,SendPaidMedia,SendPhoto,SendSticker,SendVideo,SendVideoNote,SendVoice,SetBusinessAccountProfilePhoto,SetChatPhoto,SetMyProfilePhoto,SetStickerSetThumbnail,SetWebhook,UploadStickerFile
Interface representing a multipart API method.
This interface extends the ApiMethod interface and provides methods to access parameters and input files,
as well as a method to build a request with a multipart body.
-
Field Summary
Fields inherited from interface org.teleight.teleightbots.api.ApiMethod
OBJECT_MAPPER -
Method Summary
Modifier and TypeMethodDescriptionGets the parameters of the multipart API method.Methods inherited from interface org.teleight.teleightbots.api.ApiMethod
deserializeResponse, deserializeResponse, deserializeResponseArray, deserializeResponseSerializable, getEndpointURL
-
Method Details
-
getParameters
Gets the parameters of the multipart API method.- Returns:
- a map containing the parameters of the multipart API method
-