Class: Rubirai::GroupConfig
- Defined in:
- lib/rubirai/objects/group_info.rb
Overview
Group config
Instance Attribute Summary collapse
- #allow_member_invite ⇒ Boolean
- #announcement ⇒ String
-
#anonymous_chat ⇒ Boolean
Is anonymous chat enabled.
- #auto_approve ⇒ Boolean
-
#confess_talk ⇒ Boolean
Is confess talk enabled.
- #name ⇒ String
Attributes inherited from GroupInfo
Instance Method Summary collapse
Constructor Details
#initialize(hash, bot = nil) ⇒ Object
70 |
# File 'lib/rubirai/objects/group_info.rb', line 70 set_modifiable_fields :name, :announcement, :confess_talk, :allow_member_invite, :auto_approve, :anonymous_chat |
Instance Attribute Details
#allow_member_invite ⇒ Boolean
70 |
# File 'lib/rubirai/objects/group_info.rb', line 70 set_modifiable_fields :name, :announcement, :confess_talk, :allow_member_invite, :auto_approve, :anonymous_chat |
#announcement ⇒ String
70 |
# File 'lib/rubirai/objects/group_info.rb', line 70 set_modifiable_fields :name, :announcement, :confess_talk, :allow_member_invite, :auto_approve, :anonymous_chat |
#anonymous_chat ⇒ Boolean
Returns is anonymous chat enabled.
70 |
# File 'lib/rubirai/objects/group_info.rb', line 70 set_modifiable_fields :name, :announcement, :confess_talk, :allow_member_invite, :auto_approve, :anonymous_chat |
#auto_approve ⇒ Boolean
70 |
# File 'lib/rubirai/objects/group_info.rb', line 70 set_modifiable_fields :name, :announcement, :confess_talk, :allow_member_invite, :auto_approve, :anonymous_chat |
#confess_talk ⇒ Boolean
Returns is confess talk enabled.
70 |
# File 'lib/rubirai/objects/group_info.rb', line 70 set_modifiable_fields :name, :announcement, :confess_talk, :allow_member_invite, :auto_approve, :anonymous_chat |
#name ⇒ String
70 |
# File 'lib/rubirai/objects/group_info.rb', line 70 set_modifiable_fields :name, :announcement, :confess_talk, :allow_member_invite, :auto_approve, :anonymous_chat |
Instance Method Details
#to_h ⇒ Hash{String => Object}
70 |
# File 'lib/rubirai/objects/group_info.rb', line 70 set_modifiable_fields :name, :announcement, :confess_talk, :allow_member_invite, :auto_approve, :anonymous_chat |