Class: TD::Types::ChatEventAction::HasProtectedContentToggled

Inherits:
TD::Types::ChatEventAction show all
Defined in:
lib/tdlib/types/chat_event_action/has_protected_content_toggled.rb

Overview

The has_protected_content setting of a channel was toggled.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#has_protected_contentBoolean

New value of has_protected_content.

Returns:

  • (Boolean)

    the current value of has_protected_content



5
6
7
# File 'lib/tdlib/types/chat_event_action/has_protected_content_toggled.rb', line 5

def has_protected_content
  @has_protected_content
end