public class GetStickerSet extends BotApiMethod<StickerSet>
METHOD_FIELDOBJECT_MAPPER| Constructor and Description |
|---|
GetStickerSet() |
GetStickerSet(String name) |
| Modifier and Type | Method and Description |
|---|---|
StickerSet |
deserializeResponse(String answer)
Deserialize a json answer to the response type to a method
|
String |
getMethod()
Getter for method path (that is the same as method name)
|
String |
getName() |
GetStickerSet |
setName(String name) |
String |
toString() |
void |
validate()
Validates that mandatory fields are filled and optional objects
|
public GetStickerSet(String name)
public GetStickerSet()
public String getMethod()
BotApiMethodgetMethod in class BotApiMethod<StickerSet>public StickerSet deserializeResponse(String answer) throws TelegramApiRequestException
PartialBotApiMethoddeserializeResponse in class PartialBotApiMethod<StickerSet>answer - Json answer receivedTelegramApiRequestExceptionpublic void validate()
throws TelegramApiValidationException
ValidableTelegramApiValidationException - If any mandatory field is emptypublic String getName()
public GetStickerSet setName(String name)
Copyright © 2019. All rights reserved.