Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 351 Bytes

groups.md

File metadata and controls

15 lines (10 loc) · 351 Bytes

Groups API

Groups are RocketChat's private rooms.

groups.list

N.B. groups.list, contrary to the other lists can only be used for listing

require 'rocketchat'

rocket_server = RocketChat::Server.new('http://your.server.address/')
session = rocket_server.login('username', 'password')
groups = session.groups.list(offset: 40)