Class: MTProto::TL::Users::User

Inherits:
Struct
  • Object
show all
Defined in:
lib/mtproto/tl/objects/users.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



6
7
8
# File 'lib/mtproto/tl/objects/users.rb', line 6

def access_hash
  @access_hash
end

#first_nameObject

Returns the value of attribute first_name

Returns:

  • (Object)

    the current value of first_name



6
7
8
# File 'lib/mtproto/tl/objects/users.rb', line 6

def first_name
  @first_name
end

#flagsObject

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



6
7
8
# File 'lib/mtproto/tl/objects/users.rb', line 6

def flags
  @flags
end

#flags2Object

Returns the value of attribute flags2

Returns:

  • (Object)

    the current value of flags2



6
7
8
# File 'lib/mtproto/tl/objects/users.rb', line 6

def flags2
  @flags2
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



6
7
8
# File 'lib/mtproto/tl/objects/users.rb', line 6

def id
  @id
end

#last_nameObject

Returns the value of attribute last_name

Returns:

  • (Object)

    the current value of last_name



6
7
8
# File 'lib/mtproto/tl/objects/users.rb', line 6

def last_name
  @last_name
end

#phoneObject

Returns the value of attribute phone

Returns:

  • (Object)

    the current value of phone



6
7
8
# File 'lib/mtproto/tl/objects/users.rb', line 6

def phone
  @phone
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



6
7
8
# File 'lib/mtproto/tl/objects/users.rb', line 6

def username
  @username
end