Class TdApi.AddLogMessage

Enclosing class:
TdApi

public static 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()
      Default constructor for a function, which adds a message to TDLib internal log. Can be called synchronously.

      Returns Ok

    • AddLogMessage

      public AddLogMessage(int verbosityLevel, String text)
      Creates a function, which 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.
  • 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.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR