lib/lita/adapters/slack.rb
# Returns the members of a group, but only can do so if it's a member
Returns the members of a group, but only can do so if it's a member
Returns the members of a group but only can do so if it ' s a member
def group_roster(room_id, api)
        response = api.groups_list
        group = response['groups'].select { |hash| hash['id'].eql? room_id }.first
        group.nil? ? [] : group['members']
      end
def group_roster ( room_id , api ) response = api . groups_list group = response [ 'groups' ] . select { | hash | hash [ 'id' ] . eql? room_id } . first group . nil? ? [ ] : group [ 'members' ] end
Returns the members of a group, but only can do so if it's a member
Returns the members of a group but only can do so if it ' s a member
room_id
<not_specific>
api
<not_specific>