java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputStoryContent
it.tdlight.jni.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.InputStoryContentPhoto
(DataInput input) A photo story. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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.
-
InputStoryContentPhoto
A photo story.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-