Module tdlight.api

Class TdApi.PremiumSourceStoryFeature

Enclosing class:
TdApi

public static final class TdApi.PremiumSourceStoryFeature extends TdApi.PremiumSource
A user tried to use a Premium story feature.
  • Field Details

  • Constructor Details

    • PremiumSourceStoryFeature

      public PremiumSourceStoryFeature()
      A user tried to use a Premium story feature.
    • PremiumSourceStoryFeature

      public PremiumSourceStoryFeature(TdApi.PremiumStoryFeature feature)
      A user tried to use a Premium story feature.
      Parameters:
      feature - The used feature.
    • PremiumSourceStoryFeature

      public PremiumSourceStoryFeature(DataInput input) throws IOException
      A user tried to use a Premium story feature.
      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