Package org.drinkless.tdlib
Class TdApi.UpdateConnectionState
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Update
-
- org.drinkless.tdlib.TdApi.UpdateConnectionState
-
- Enclosing class:
- TdApi
public static class TdApi.UpdateConnectionState extends TdApi.Update
The connection state has changed. This update must be used only to show a human-readable description of the connection state.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.ConnectionStatestateThe new connection state.
-
Constructor Summary
Constructors Constructor Description UpdateConnectionState()The connection state has changed.UpdateConnectionState(TdApi.ConnectionState state)The connection state has changed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
state
public TdApi.ConnectionState state
The new connection state.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UpdateConnectionState
public UpdateConnectionState()
The connection state has changed. This update must be used only to show a human-readable description of the connection state.
-
UpdateConnectionState
public UpdateConnectionState(TdApi.ConnectionState state)
The connection state has changed. This update must be used only to show a human-readable description of the connection state.- Parameters:
state- The new connection state.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-