Deeplink class abstract
This class represents a Telegram deeplink.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- https → String
-
https://t.me/ link
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tg → String
-
tg:// link
no setter
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
Static Methods
-
botLink(
String username, {String? startParameter}) → BotLink -
Creates a BotLink with the given
username
andstartParameter
. -
channelBotLink(
String username, {required BotAdminRights admin}) → ChannelBotLink -
Creates a ChannelBotLink with the given
username
andadmin
. -
gameLink(
String username, String shortName) → GameLink -
Creates a GameLink with the given
username
andshortName
. -
groupBotLink(
String username, {String? startParameter, BotAdminRights? admin}) → GroupBotLink -
Creates a GroupBotLink with the given
username
,startParameter
andadmin
. -
mtProxyLink(
{required String server, required int port, required String secret}) → MTProxyLink -
Creates a MTProxyLink with the given
server
,port
andsecret
. -
phoneNumberLink(
String phoneNumber) → PhoneNumberLink -
Creates a PhoneNumberLink with the given
phoneNumber
. -
settingsLink(
) → SettingsLinks - Creates a SettingsLink
-
Creates a ShareLink with the given
url
andtext
. -
socks5Link(
{required String server, required int port, String? username, String? password}) → Socks5Link -
Creates a Socks5Link with the given
server
,port
,username
andpassword
. -
usernameLink(
String username) → UsernameLink -
Creates a UsernameLink with the given
username
.