ReadDatePrivacySettings class final

ReadDatePrivacySettings (readDatePrivacySettings) - basic class

Contains privacy settings for message read date in private chats. Read dates are always shown to the users that can see online status of the current user regardless of this setting.

  • showReadDate: True, if message read date is shown to other users in private chats. If false and the current user isn't a Telegram Premium user, then they will not be able to see other's message read date.
Inheritance

Constructors

ReadDatePrivacySettings({required bool showReadDate, dynamic extra, int? clientId})
ReadDatePrivacySettings (readDatePrivacySettings) - basic class
const
ReadDatePrivacySettings.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

clientId int?
clientId client identifier
final
currentObjectId String
TDLib object type for current class instance
no setteroverride
extra → dynamic
extra callback sign
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showReadDate bool
True, if message read date is shown to other users in private chats. If false and the current user isn't a Telegram Premium user, then they will not be able to see other's message read date
final

Methods

copyWith({bool? showReadDate, dynamic extra, int? clientId}) ReadDatePrivacySettings
Copy model with modified properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert model to TDLib JSON format
override
toString() String
Convert model to TDLib JSON format, encoded into String.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultObjectId → const String
TDLib object type