UserTypeBot class
A bot (see https://core.telegram.org/bots).
- Inheritance
- Available Extensions
Constructors
- UserTypeBot({required bool can_be_edited, required bool can_join_groups, required bool can_read_all_group_messages, required bool is_inline, required String inline_query_placeholder, required bool need_location, int? extra, int? clientId})
- A bot (see https://core.telegram.org/bots)
Properties
-
True, if the bot can be added to attachment or side menu.
read / write
- can_be_edited ↔ bool
-
True, if the bot is owned by the current user and can be edited using the methods toggleBotUsernameIsActive, reorderBotActiveUsernames, setBotProfilePhoto, setBotName, setBotInfoDescription, and setBotInfoShortDescription.
read / write
- can_join_groups ↔ bool
-
True, if the bot can be invited to basic group and supergroup chats.
read / write
- can_read_all_group_messages ↔ bool
-
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
- 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
- inline_query_placeholder ↔ String
-
Placeholder for inline queries (displayed on the application input field).
read / write
- is_inline ↔ bool
-
True, if the bot supports inline queries.
read / write
- need_location ↔ bool
-
True, if the location of the user is expected to be sent with every inline query to this bot.
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) → UserTypeBot? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"userTypeBot"