Class: TD::Types::Update::ChatHasProtectedContent

Inherits:
TD::Types::Update show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



6
7
8
# File 'lib/tdlib/types/update/chat_has_protected_content.rb', line 6

def chat_id
  @chat_id
end

#has_protected_contentBoolean

New value of has_protected_content.

Returns:

  • (Boolean)

    the current 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