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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    Text of a message to log.
    int
    The minimum verbosity level needed for the message to be logged; 0-1023.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which adds a message to TDLib internal log.
    AddLogMessage(int verbosityLevel, String text)
    Creates a function, which adds a message to TDLib internal log.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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.Object
      Returns:
      this.CONSTRUCTOR