SendBotStartMessage class
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.
Returns Message.
- Inheritance
- Available Extensions
Constructors
- SendBotStartMessage({required int bot_user_id, required int chat_id, required String parameter, int? extra, int? clientId})
- 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
Properties
- bot_user_id ↔ int
-
Identifier of the bot.
read / write
- chat_id ↔ int
-
Identifier of the target chat.
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
- parameter ↔ String
-
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-onlyinherited
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) → SendBotStartMessage? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"sendBotStartMessage"