docs
3.3.1
common
docs
/
dev.inmo.tgbotapi.bot.settings
/
ProxySettings
Proxy
Settings
@
Serializable
data
class
ProxySettings
(
val
host
:
String
=
"localhost"
,
val
port
:
Int
=
1080
,
val
username
:
String
?
=
null
,
val
password
:
String
?
=
null
)
Constructors
Properties
Constructors
Proxy
Settings
Link copied to clipboard
fun
ProxySettings
(
host
:
String
=
"localhost"
,
port
:
Int
=
1080
,
username
:
String
?
=
null
,
password
:
String
?
=
null
)
Properties
host
Link copied to clipboard
val
host
:
String
password
Link copied to clipboard
val
password
:
String
?
=
null
port
Link copied to clipboard
val
port
:
Int
=
1080
username
Link copied to clipboard
val
username
:
String
?
=
null