SendBotStartMessage class

Inheritance

Constructors

SendBotStartMessage({int botUserId, int chatId, String parameter})
Invites a bot to a chat (if it is not yet a member) and sends it the /start command. Bots can't be invited to a private chat other than the chat with the bot. Bots can't be invited to channels (although they can be added as admins) and secret chats. Returns the sent message
SendBotStartMessage.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

botUserId int
botUserId Identifier of the bot
read / write
chatId int
chatId Identifier of the target chat
read / write
extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
parameter String
parameter A hidden parameter sent to the bot for deep linking purposes (https://core.telegram.org/bots#deep-linking)
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'sendBotStartMessage'