tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::readDatePrivacySettings Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::readDatePrivacySettings:
td::td_api::Object td::TlObject

Public Member Functions

 readDatePrivacySettings ()
 
 readDatePrivacySettings (bool show_read_date_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (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&#x27;t a Telegram Premium user, then they will not be able to see other&#x27;s message read date.
 

Static Public Attributes

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

Detailed 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.

Definition at line 58476 of file td_api.h.

Constructor & Destructor Documentation

◆ readDatePrivacySettings() [1/2]

td::td_api::readDatePrivacySettings::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]

td::td_api::readDatePrivacySettings::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&#x27;t a Telegram Premium user, then they will not be able to see other&#x27;s message read date.

Member Function Documentation

◆ store()

void td::td_api::readDatePrivacySettings::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 td::TlObject.

Member Data Documentation

◆ ID

const std::int32_t td::td_api::readDatePrivacySettings::ID = 1654842920
static

Identifier uniquely determining a type of the object.

Definition at line 58502 of file td_api.h.

◆ show_read_date_

bool td::td_api::readDatePrivacySettings::show_read_date_

True, if message read date is shown to other users in private chats. If false and the current user isn&#x27;t a Telegram Premium user, then they will not be able to see other&#x27;s message read date.

Definition at line 58487 of file td_api.h.


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