InternalLinkTypeBotStart class

The link is a link to a chat with a Telegram bot. Call searchPublicChat with the given bot username, check that the user is a bot, show START button in the chat with the bot,.

Inheritance
Available Extensions

Constructors

InternalLinkTypeBotStart({required String bot_username, required String start_parameter, required bool autostart, int? extra, int? clientId})
The link is a link to a chat with a Telegram bot. Call searchPublicChat with the given bot username, check that the user is a bot, show START button in the chat with the bot,

Properties

autostart bool
True, if sendBotStartMessage must be called automatically without showing the START button.
read / write
bot_username String
Username of the bot.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
start_parameter String
The parameter to be passed to sendBotStartMessage.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) InternalLinkTypeBotStart?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"internalLinkTypeBotStart"