UserTypeBot class

Inheritance

Constructors

UserTypeBot({bool canJoinGroups, bool canReadAllGroupMessages, bool isInline, String inlineQueryPlaceholder, bool needLocation})
A bot (see https://core.telegram.org/bots)
UserTypeBot.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

canJoinGroups bool
canJoinGroups True, if the bot can be invited to basic group and supergroup chats
read / write
canReadAllGroupMessages bool
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
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inlineQueryPlaceholder String
inlineQueryPlaceholder Placeholder for inline queries (displayed on the application input field)
read / write
isInline bool
isInline True, if the bot supports inline queries
read / write
needLocation bool
needLocation True, if the location of the user should be sent with every inline query to this bot
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
'userTypeBot'