Class TdApi.SaveApplicationLogEvent
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.SaveApplicationLogEvent
- Enclosing class:
- TdApi
Saves application log event on the server. Can be called before authorization.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Optional chat identifier, associated with the event.static final int
Identifier uniquely determining type of the object.The log event data.Event type. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which saves application log event on the server.SaveApplicationLogEvent
(String type, long chatId, TdApi.JsonValue data) Creates a function, which saves application log event on the server. -
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
-
type
Event type. -
chatId
public long chatIdOptional chat identifier, associated with the event. -
data
The log event data. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SaveApplicationLogEvent
public SaveApplicationLogEvent()Default constructor for a function, which saves application log event on the server. Can be called before authorization.Returns
Ok
-
SaveApplicationLogEvent
Creates a function, which saves application log event on the server. Can be called before authorization.Returns
Ok
- Parameters:
type
- Event type.chatId
- Optional chat identifier, associated with the event.data
- The log event data.
-
-
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
-