Class: TD::Types::Update::ChatHasProtectedContent
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::ChatHasProtectedContent
- Defined in:
- lib/tdlib/types/update/chat_has_protected_content.rb
Overview
A chat content was allowed or restricted for saving.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Chat identifier.
-
#has_protected_content ⇒ Boolean
New value of has_protected_content.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Chat identifier.
6 7 8 |
# File 'lib/tdlib/types/update/chat_has_protected_content.rb', line 6 def chat_id @chat_id end |
#has_protected_content ⇒ Boolean
New value of has_protected_content.
6 7 8 |
# File 'lib/tdlib/types/update/chat_has_protected_content.rb', line 6 def has_protected_content @has_protected_content end |