Class InputStoryContentVideo
Object
InputStoryContent
InputStoryContentVideo
- All Implemented Interfaces:
Serializable,BotApiObject,Validable
Describes a video to post as a story.
The video must be of the size 720x1280, streamable, encoded with H.265 codec,
with key frames added each second in the MPEG4 format, and must not exceed 30 MB.
The video 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
-
InputStoryContentVideo
public InputStoryContentVideo()
-
-
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
-