Class: TD::Types::Update::ChatPermissions

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

Overview

Chat permissions was changed.

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

def chat_id
  @chat_id
end

#permissionsTD::Types::ChatPermissions

The new chat permissions.

Returns:



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

def permissions
  @permissions
end