public static class TdApi.SetNetworkType extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.NetworkType |
type
The new network type; pass null to set network type to networkTypeOther.
|
Constructor and Description |
---|
SetNetworkType()
Default constructor for a function, which sets the current network type.
|
SetNetworkType(TdApi.NetworkType type)
Creates a function, which sets the current network type.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.NetworkType type
public static final int CONSTRUCTOR
public SetNetworkType()
Returns Ok
public SetNetworkType(TdApi.NetworkType type)
Returns Ok
type
- The new network type; pass null to set network type to networkTypeOther.public int getConstructor()
getConstructor
in class TdApi.Function