Class: TD::Types::Update::ChatIsTranslatable

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/chat_is_translatable.rb

Overview

Translation of chat messages was enabled or disabled.

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_is_translatable.rb', line 6

def chat_id
  @chat_id
end

#is_translatableBoolean

New value of is_translatable.

Returns:

  • (Boolean)

    the current value of is_translatable



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

def is_translatable
  @is_translatable
end