Socks5Link class
Used to share a proxy server that can be used to connect to Telegram.
Used for socks5 proxies.
Constructors
- Socks5Link({required String server, required int port, String? username, String? password})
-
Creates a new Socks5Link object.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- https → String
-
https://t.me/ link
no setteroverride
- password → String?
-
Proxy password
final
- port → int
-
Proxy server port
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server → String
-
Proxy server IP address or host
final
- tg → String
-
tg:// link
no setteroverride
- username → String?
-
Proxy username
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
By default, this method returns the tg link.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited