Class InputStoryContentPhoto
Object
InputStoryContent
InputStoryContentPhoto
- All Implemented Interfaces:
Serializable,BotApiObject,Validable
Describes a photo to post as a story.
The photo must be of the size 1080x1920 and must not exceed 10 MB.
The photo can't be reused and can only be uploaded as a new file.
- See Also:
-
Field Summary
Fields inherited from class InputStoryContent
TYPE_FIELD -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InputStoryContentPhoto
public InputStoryContentPhoto()
-
-
Method Details
-
validate
Description copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Throws:
TelegramApiValidationException- If any mandatory field is empty
-
getType
- Specified by:
getTypein classInputStoryContent
-