Class: MTProto::TL::Peers::Chat

Inherits:
Struct
  • Object
show all
Defined in:
lib/mtproto/tl/peers.rb

Instance Attribute Summary collapse

Instance Attribute Details

#access_hashObject

Returns the value of attribute access_hash

Returns:

  • (Object)

    the current value of access_hash



10
11
12
# File 'lib/mtproto/tl/peers.rb', line 10

def access_hash
  @access_hash
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



10
11
12
# File 'lib/mtproto/tl/peers.rb', line 10

def id
  @id
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



10
11
12
# File 'lib/mtproto/tl/peers.rb', line 10

def title
  @title
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



10
11
12
# File 'lib/mtproto/tl/peers.rb', line 10

def type
  @type
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



10
11
12
# File 'lib/mtproto/tl/peers.rb', line 10

def username
  @username
end