Inherits Object.
Contains privacy settings for new chats with non-contacts.
Public Fields | |
bool | allow_new_chats_from_unknown_users_ |
True, if non-contacts users are able to write first to the current user. Telegram Premium subscribers are able to write first regardless of this setting. | |
Public Instance Methods | |
newChatPrivacySettings () | |
newChatPrivacySettings (bool allow_new_chats_from_unknown_users_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 1528154694 |
Identifier uniquely determining a type of the object. | |
Contains privacy settings for new chats with non-contacts.
|
explicit |
Contains privacy settings for new chats with non-contacts.
[in] | allow_new_chats_from_unknown_users_ | True, if non-contacts users are able to write first to the current user. Telegram Premium subscribers are able to write first regardless of this setting. |
|
finalvirtual |