Module tdlight.api

Class TdApi.StoryRepostInfo

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.StoryRepostInfo
Enclosing class:
TdApi

public static final class TdApi.StoryRepostInfo extends TdApi.Object
Contains information about original story that was reposted.
  • Field Details

    • origin

      public TdApi.StoryOrigin origin
      Origin of the story that was reposted.
    • isContentModified

      public boolean isContentModified
      True, if story content was modified during reposting; otherwise, story wasn't modified.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • StoryRepostInfo

      public StoryRepostInfo()
      Contains information about original story that was reposted.
    • StoryRepostInfo

      public StoryRepostInfo(TdApi.StoryOrigin origin, boolean isContentModified)
      Contains information about original story that was reposted.
      Parameters:
      origin - Origin of the story that was reposted.
      isContentModified - True, if story content was modified during reposting; otherwise, story wasn't modified.
    • StoryRepostInfo

      public StoryRepostInfo(DataInput input) throws IOException
      Contains information about original story that was reposted.
      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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object