TelegramBotAPI
common
tgbotapi.core
/
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
)
Members
Constructors
Proxy
Settings
Link copied to clipboard
constructor
(
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