Module tdlight.api

Class TdApi.StoryInteractionTypeRepost

Enclosing class:
TdApi

public static final class TdApi.StoryInteractionTypeRepost extends TdApi.StoryInteractionType
A repost of the story as a story.
  • Field Details

    • story

      public TdApi.Story story
      The reposted story.
    • CONSTRUCTOR

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

    • StoryInteractionTypeRepost

      public StoryInteractionTypeRepost()
      A repost of the story as a story.
    • StoryInteractionTypeRepost

      public StoryInteractionTypeRepost(TdApi.Story story)
      A repost of the story as a story.
      Parameters:
      story - The reposted story.
    • StoryInteractionTypeRepost

      public StoryInteractionTypeRepost(DataInput input) throws IOException
      A repost of the story as a 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 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