Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there an error for the example of rtm#send method? #30

Open
kkalavantavanich opened this issue Jul 20, 2018 · 0 comments
Open

Is there an error for the example of rtm#send method? #30

kkalavantavanich opened this issue Jul 20, 2018 · 0 comments

Comments

@kkalavantavanich
Copy link

The method signature of rtm#send in src/mocker/rtm.js is

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant