Class: Rubirai::MemberInfo

Inherits:
GroupInfo show all
Defined in:
lib/rubirai/objects/group_info.rb

Overview

Member info

Instance Attribute Summary collapse

Attributes inherited from GroupInfo

#bot, #raw

Instance Method Summary collapse

Constructor Details

#initialize(hash, bot = nil) ⇒ Object

Parameters:

  • hash (Hash{String => Object})
  • bot (Rubirai::Bot, nil) (defaults to: nil)


86
# File 'lib/rubirai/objects/group_info.rb', line 86

set_fields :name, :nick, :special_title

Instance Attribute Details

#nameString

Returns member's name in the group.

Returns:

  • (String)

    member's name in the group



86
# File 'lib/rubirai/objects/group_info.rb', line 86

set_fields :name, :nick, :special_title

#nickString (readonly)

Returns member's personal nickname.

Returns:

  • (String)

    member's personal nickname



86
# File 'lib/rubirai/objects/group_info.rb', line 86

set_fields :name, :nick, :special_title

#special_titleString

Returns member's special title in the group.

Returns:

  • (String)

    member's special title in the group



86
# File 'lib/rubirai/objects/group_info.rb', line 86

set_fields :name, :nick, :special_title

Instance Method Details

#to_hHash{String => Object}

Returns:

  • (Hash{String => Object})


86
# File 'lib/rubirai/objects/group_info.rb', line 86

set_fields :name, :nick, :special_title