Module tdlight.api

Class TdApi.AddLogMessage

Enclosing class:
TdApi

public static final class TdApi.AddLogMessage extends TdApi.Function<TdApi.Ok>
Adds a message to TDLib internal log. Can be called synchronously.

Returns Ok

  • Field Details

    • verbosityLevel

      public int verbosityLevel
      The minimum verbosity level needed for the message to be logged; 0-1023.
    • text

      public String text
      Text of a message to log.
    • CONSTRUCTOR

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

    • AddLogMessage

      public AddLogMessage()
      Adds a message to TDLib internal log. Can be called synchronously.

      Returns Ok

    • AddLogMessage

      public AddLogMessage(int verbosityLevel, String text)
      Adds a message to TDLib internal log. Can be called synchronously.

      Returns Ok

      Parameters:
      verbosityLevel - The minimum verbosity level needed for the message to be logged; 0-1023.
      text - Text of a message to log.

      Returns Ok

    • AddLogMessage

      public AddLogMessage(DataInput input) throws IOException
      Adds a message to TDLib internal log. Can be called synchronously.

      Returns Ok

      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