PeerSettings class
Peer Settings.
ID: a518110d
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- PeerSettingsBase
- PeerSettings
Constructors
- PeerSettings({required bool reportSpam, required bool addContact, required bool blockContact, required bool needContactsException, required bool reportGeo, required bool autoarchived, required bool inviteMembers, required bool requestChatBroadcast, int? geoDistance, String? requestChatTitle, DateTime? requestChatDate})
-
Peer Settings constructor.
const
- PeerSettings.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- addContact → bool
-
add_contact: bit 1 of flags.1?true
final
- autoarchived → bool
-
autoarchived: bit 7 of flags.7?true
final
- blockContact → bool
-
block_contact: bit 2 of flags.2?true
final
- flags → int
-
Flags.
no setter
- geoDistance → int?
-
Geo Distance.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inviteMembers → bool
-
invite_members: bit 8 of flags.8?true
final
- needContactsException → bool
-
need_contacts_exception: bit 4 of flags.4?true
final
- reportGeo → bool
-
report_geo: bit 5 of flags.5?true
final
- reportSpam → bool
-
report_spam: bit 0 of flags.0?true
final
- requestChatBroadcast → bool
-
request_chat_broadcast: bit 10 of flags.10?true
final
- requestChatDate → DateTime?
-
Request Chat Date.
final
- requestChatTitle → String?
-
Request Chat Title.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
share_contact: bit 3 of flags.3?true
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
List< int> buffer) → void -
Serialize.
override
-
toJson(
) → Map< String, dynamic> -
Converts an object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited