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

How do I add attachements to messages #31

Open
kylemhall opened this issue Jul 26, 2019 · 2 comments
Open

How do I add attachements to messages #31

kylemhall opened this issue Jul 26, 2019 · 2 comments

Comments

@kylemhall
Copy link

I'm trying to use attachments for formatting but they don't seam to come through.

https://api.slack.com/docs/message-attachments

Which API does Slack::RTM::Bot use to send messages to Slack? Is there a way I can format my say() parameters to make attachments work?

Thanks!
Kyle

@duck8823
Copy link
Owner

duck8823 commented Jul 27, 2019

Hi Kyle,

Slack::RTM::Bot use Real Time Messaging API that unsupported attachments ( https://api.slack.com/rtm#formatting_messages).

The internal implementation needs to be changed to use the Web API.

@kylemhall
Copy link
Author

I see now. Thanks for pointing that out!

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