TDLib
Loading...
Searching...
No Matches
readDatePrivacySettings Class Referencefinal

Inherits Object.

Description

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.

Public Member Functions

 readDatePrivacySettings ()
 readDatePrivacySettings (bool show_read_date_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

bool show_read_date_
 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.

Static Public Attributes

static const std::int32_t ID = 1654842920
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ readDatePrivacySettings() [1/2]

readDatePrivacySettings ( )

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.

◆ readDatePrivacySettings() [2/2]

readDatePrivacySettings ( bool show_read_date_)
explicit

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.

Parameters
[in]show_read_date_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.

Member Function Documentation

◆ store()

void store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: