TargetChatChosen class

The chat needs to be chosen by the user among chats of the specified types.

Inheritance
Available Extensions

Constructors

TargetChatChosen({required bool allow_user_chats, required bool allow_bot_chats, required bool allow_group_chats, required bool allow_channel_chats, int? extra, int? clientId})
The chat needs to be chosen by the user among chats of the specified types

Properties

allow_bot_chats bool
True, if private chats with other bots are allowed.
read / write
allow_channel_chats bool
True, if channel chats are allowed.
read / write
allow_group_chats bool
True, if basic group and supergroup chats are allowed.
read / write
allow_user_chats bool
True, if private chats with ordinary users are allowed.
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
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) TargetChatChosen?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"targetChatChosen"