BusinessRecipients class final
Describes private chats chosen for automatic interaction with a business
Constructors
-
BusinessRecipients({required List<
int> chatIds, required bool selectExistingChats, required bool selectNewChats, required bool selectContacts, required bool selectNonContacts, required bool excludeSelected}) -
Describes private chats chosen for automatic interaction with a business
const
-
BusinessRecipients.fromJson(Map<
String, dynamic> json) -
Parses a BusinessRecipients from TDLib JSON.
factory
Properties
-
chatIds
→ List<
int> -
Identifiers of selected private chats
final
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- excludeSelected → bool
-
If true, then all private chats except the selected are chosen. Otherwise, only the selected chats are chosen
final
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectContacts → bool
-
True, if all private chats with contacts are selected
final
- selectExistingChats → bool
-
True, if all existing private chats are selected
final
- selectNewChats → bool
-
True, if all new private chats are selected
final
- selectNonContacts → bool
-
True, if all private chats with non-contacts are selected
final
Methods
-
copyWith(
{List< int> ? chatIds, bool? selectExistingChats, bool? selectNewChats, bool? selectContacts, bool? selectNonContacts, bool? excludeSelected}) → BusinessRecipients -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.