Class TdApi.AddLogMessage
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.AddLogMessage
- Enclosing class:
- TdApi
Adds a message to TDLib internal log. Can be called synchronously.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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
ConstructorDescriptionDefault 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
verbosityLevel
public int verbosityLevelThe minimum verbosity level needed for the message to be logged; 0-1023. -
text
Text of a message to log. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-