maknz / slack

A simple PHP package for sending messages to Slack, with a focus on ease of use and elegant syntax.
BSD 2-Clause "Simplified" License
1.17k stars 204 forks source link

Help request #68

Closed matansh closed 3 years ago

matansh commented 8 years ago

Hi, first of all thanks for this easy to use package! I want to attempt to use this to send messages with a slack app bot (via bot token) instead of using a incoming webhook.

Is this somehow supported? I'm using a different package to handle the required websocket connection for receiving incoming messages but prefer to use this sender for outgoing messages

Thanks in advance for any help :)

matansh commented 8 years ago

After re reading the documentation I'm guessing my best chance at this is using $message = $client->createMessage(); and passing that along to the websocket handler.

Has any one tried this with slack's RTM api or knows of a better way?