Class: TD::Types::ChatType::Secret

Inherits:
TD::Types::ChatType show all
Defined in:
lib/tdlib/types/chat_type/secret.rb

Overview

A secret chat with a user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#secret_chat_idInteger

Secret chat identifier.

Returns:

  • (Integer)

    the current value of secret_chat_id



6
7
8
# File 'lib/tdlib/types/chat_type/secret.rb', line 6

def secret_chat_id
  @secret_chat_id
end

#user_idInteger

User identifier of the secret chat peer.

Returns:

  • (Integer)

    the current value of user_id



6
7
8
# File 'lib/tdlib/types/chat_type/secret.rb', line 6

def user_id
  @user_id
end