Class TdApi.InputStoryContentPhoto
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InputStoryContent
dev.voroby.springframework.telegram.client.TdApi.InputStoryContentPhoto
- Enclosing class:
- TdApi
A photo story.
-
Field Summary
Modifier and TypeFieldDescriptionint[]
File identifiers of the stickers added to the photo, if applicable.static final int
Identifier uniquely determining type of the object.Photo to send. -
Constructor Summary
ConstructorDescriptionA photo story.InputStoryContentPhoto
(TdApi.InputFile photo, int[] addedStickerFileIds) A photo story. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
photo
Photo to send. The photo must be at most 10 MB in size. The photo size must be 1080x1920. -
addedStickerFileIds
public int[] addedStickerFileIdsFile identifiers of the stickers added to the photo, if applicable. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputStoryContentPhoto
public InputStoryContentPhoto()A photo story. -
InputStoryContentPhoto
A photo story.- Parameters:
photo
- Photo to send. The photo must be at most 10 MB in size. The photo size must be 1080x1920.addedStickerFileIds
- File identifiers of the stickers added to the photo, if applicable.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-