PeerSettings constructor
const
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.
Implementation
const PeerSettings({
required this.reportSpam,
required this.addContact,
required this.blockContact,
required this.shareContact,
required this.needContactsException,
required this.reportGeo,
required this.autoarchived,
required this.inviteMembers,
required this.requestChatBroadcast,
required this.businessBotPaused,
required this.businessBotCanReply,
this.geoDistance,
this.requestChatTitle,
this.requestChatDate,
this.businessBotId,
this.businessBotManageUrl,
this.chargePaidMessageStars,
this.registrationMonth,
this.phoneCountry,
this.nameChangeDate,
this.photoChangeDate,
}) : super._();