Open kkalavantavanich opened 6 years ago
The method signature of rtm#send in src/mocker/rtm.js is
rtm#send
src/mocker/rtm.js
rtm.send = function (token, message)
While in the english README, rtm#send is called with:
slackMock.rtm.send({token: 'abc123', type: 'message', channel: 'mockChannel', user: 'usr', text: 'hello'})
Is this an error in the example?
The method signature of
rtm#send
insrc/mocker/rtm.js
isWhile in the english README,
rtm#send
is called with:Is this an error in the example?