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
      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 - int The minimum verbosity level needed for the message to be logged; 0-1023.
      text - String Text of a message to log.
    • AddLogMessage

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

      Returns Ok

      Throws:
      IOException
  • Method Details