java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.StoryOrigin
it.tdlight.jni.TdApi.StoryOriginPublicStory
- Enclosing class:
- TdApi
The original story was a public story with known sender.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat that posted original story.static final int
Identifier uniquely determining type of the object.int
Story identifier of the original story. -
Constructor Summary
ConstructorDescriptionThe original story was a public story with known sender.StoryOriginPublicStory
(long chatId, int storyId) The original story was a public story with known sender.StoryOriginPublicStory
(DataInput input) The original story was a public story with known sender. -
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
-
chatId
public long chatIdIdentifier of the chat that posted original story. -
storyId
public int storyIdStory identifier of the original story. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StoryOriginPublicStory
public StoryOriginPublicStory()The original story was a public story with known sender. -
StoryOriginPublicStory
public StoryOriginPublicStory(long chatId, int storyId) The original story was a public story with known sender.- Parameters:
chatId
- Identifier of the chat that posted original story.storyId
- Story identifier of the original story.
-
StoryOriginPublicStory
The original story was a public story with known sender.- 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()
-