BotCommandParser class
Command Parser
Constructors
-
BotCommandParser(String command, String? botUsername, {required List<
String> args}) - Basic constructor
Properties
Methods
-
isToBot(
String targetBotUsername) → bool - True if is to bot
-
matchesCommand(
String command, {String? username}) → bool - MatchesCommand
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMessage(
Message message) → BotCommandParser? - Command Parser from message