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

Example code doesn't run #3

Open
kmz42 opened this issue Aug 1, 2020 · 1 comment
Open

Example code doesn't run #3

kmz42 opened this issue Aug 1, 2020 · 1 comment

Comments

@kmz42
Copy link

kmz42 commented Aug 1, 2020

client.send_message(type: 'stream', to: 'social', topic: 'greetings',
  content: 'hello world!')

client.send_message(type: 'private', to: '[email protected]',
  content: 'thanks for the accidental deployment :robot:')

type is not an argument on send_message

@jonathanarndt
Copy link

The type field is not required, you can remove that line and it will still work. I have just done this now.

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

2 participants