Module tdlight.api

Class TdApi.PassportElementErrorSourceTranslationFile

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PassportElementErrorSource
it.tdlight.jni.TdApi.PassportElementErrorSourceTranslationFile
Enclosing class:
TdApi

public static final class TdApi.PassportElementErrorSourceTranslationFile extends TdApi.PassportElementErrorSource
One of files with the translation of the document contains an error. The error will be considered resolved when the file changes.
  • Field Details

    • fileIndex

      public int fileIndex
      Index of a file with the error.
    • CONSTRUCTOR

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

    • PassportElementErrorSourceTranslationFile

      public PassportElementErrorSourceTranslationFile()
      One of files with the translation of the document contains an error. The error will be considered resolved when the file changes.
    • PassportElementErrorSourceTranslationFile

      public PassportElementErrorSourceTranslationFile(int fileIndex)
      One of files with the translation of the document contains an error. The error will be considered resolved when the file changes.
      Parameters:
      fileIndex - Index of a file with the error.
    • PassportElementErrorSourceTranslationFile

      public PassportElementErrorSourceTranslationFile(DataInput input) throws IOException
      One of files with the translation of the document contains an error. The error will be considered resolved when the file changes.
      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