lib/rocket_chat/messages/channel.rb in rocketchat-0.1.22 vs lib/rocket_chat/messages/channel.rb in rocketchat-0.1.23

- old
+ new

@@ -59,17 +59,20 @@ response['online'].map { |hash| RocketChat::User.new hash } if response['success'] end # Keys for set_attr: + # * [String] announcement Announcement for the channel + # * [Hash] custom_fields Custom fields for the channel + # * [Boolean] default Sets whether the channel is a default channel or not # * [String] description A room's description # * [String] join_code Code to join a channel # * [String] purpose Alias for description # * [Boolean] read_only Read-only status # * [String] topic A room's topic # * [Strong] type c (channel) or p (private group) def self.settable_attributes - %i[description join_code purpose read_only topic type] + %i[announcement custom_fields default description join_code purpose read_only topic type] end end end end