[api] allow room to be defined in constructor for slack