Class: TD::Types::NewChatPrivacySettings
- Defined in:
- lib/tdlib/types/new_chat_privacy_settings.rb
Overview
Contains privacy settings for new chats with non-contacts.
Instance Attribute Summary collapse
-
#allow_new_chats_from_unknown_users ⇒ Boolean
True, if non-contacts users are able to write first to the current user.
Method Summary
Methods inherited from Base
Instance Attribute Details
#allow_new_chats_from_unknown_users ⇒ Boolean
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.
7 8 9 |
# File 'lib/tdlib/types/new_chat_privacy_settings.rb', line 7 def allow_new_chats_from_unknown_users @allow_new_chats_from_unknown_users end |