UserTypeBot class

Implemented types

Constructors

UserTypeBot({bool canJoinGroups, bool canReadAllGroupMessages, bool isInline, String inlineQueryPlaceholder, bool needLocation})
A bot (see https. canReadAllGroupMessages True, if the bot can read all messages in basic group or supergroup chats and not just those addressed to the bot. In private and channel chats a bot can always read all messages. isInline True, if the bot supports inline queries . inlineQueryPlaceholder Placeholder for inline queries (displayed on the client input field) . needLocation True, if the location of the user should be sent with every inline query to this bot
UserTypeBot.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

canJoinGroups bool
read / write
canReadAllGroupMessages bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inlineQueryPlaceholder String
read / write
isInline bool
read / write
needLocation bool
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"userTypeBot"