PeerSettings class
Peer Settings.
ID: f47741f7.
- 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, required bool businessBotPaused, required bool businessBotCanReply, int? geoDistance, String? requestChatTitle, DateTime? requestChatDate, int? businessBotId, String? businessBotManageUrl, int? chargePaidMessageStars, String? registrationMonth, String? phoneCountry, DateTime? nameChangeDate, DateTime? photoChangeDate})
-
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
- businessBotCanReply → bool
-
business_bot_can_reply: bit 12 of flags.12?true
final
- businessBotId → int?
-
Business Bot Id.
final
- businessBotManageUrl → String?
-
Business Bot Manage Url.
final
- businessBotPaused → bool
-
business_bot_paused: bit 11 of flags.11?true
final
- chargePaidMessageStars → int?
-
Charge Paid Message Stars.
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
- nameChangeDate → DateTime?
-
Name Change Date.
final
- needContactsException → bool
-
need_contacts_exception: bit 4 of flags.4?true
final
- phoneCountry → String?
-
Phone Country.
final
- photoChangeDate → DateTime?
-
Photo Change Date.
final
- registrationMonth → String?
-
Registration Month.
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