php-slack / 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
135 stars 27 forks source link

Added 'response_type' setting #34

Closed sparkwatson closed 4 years ago

sparkwatson commented 4 years ago

Slack's 'response_type' setting ('ephemeral' | 'in_channel') determines the visibility of responses in a channel.

if 'ephemeral', then the bot response is invisible to other members in a channel if 'in_channel', then the bot response is visible to other members in a channel

see 'message visibility' under: https://api.slack.com/interactivity/slash-commands#sending_an_immediate_response

alek13 commented 4 years ago

@sparkwatson , thanx for PR. Please, fix tests https://travis-ci.org/php-slack/slack/jobs/650445998?utm_medium=notification&utm_source=github_status

sparkwatson commented 4 years ago

@alek13 thanks - I fixed the Travis tests... I'm unsure on the styleci one (indentation issue)... I didn't change the indentation.

alek13 commented 4 years ago

@sparkwatson thnx. Style CI I fix already in master

sparkwatson commented 4 years ago

Great, thank you @alek13 !