ChannelBotLink class

This class represents a Telegram channel deeplink.

Used to add bots to channels. This works in the same way as GroupBotLink.

The t.me link will be in the format: t.me/<bot_username>?startchannel&admin=<permissions>

The tg link will be in the format: tg://resolve?domain=<bot_username>&startchannel&admin=<permissions>

Inheritance

Constructors

Creates a new ChannelBotLink object.
const

Properties

admin BotAdminRights
A combination of the following identifiers separated by +, each corresponding to the appropriate flag in the chatAdminRights » constructor.
final
hashCode int
The hash code for this object.
no setterinherited
https String
https://t.me/ link
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tg String
tg:// link
no setteroverride
username String
The username of the bot.
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited