8000 [Notifier] [Slack] Add SlackPlainTextInputBlock for Slack message by camilleislasse · Pull Request #60310 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Notifier] [Slack] Add SlackPlainTextInputBlock for Slack message #60310

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

Open
wants to merge 4 commits into
base: 7.4
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix README formatting by adjusting line breaks
  • Loading branch information
camilleislasse committed May 1, 2025
commit a4c68dfc9f8f80ab3dc9d4005bd55d676ef057cd
2 changes: 1 addition & 1 deletion src/Symfony/Component/Notifier/Bridge/Slack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,11 @@ $chatMessage->options($options);

$chatter->send($chatMessage);
```

Adding a Plain Text Input to a Message
----------------------------
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
----------------------------
----------------------------

Please make the underline length match the title

To add a simple text input field to your Slack message, use the `SlackPlainTextInputBlock` class.
```php

use Symfony\Component\Notifier\Bridge\Slack\Block\SlackPlainTextInputBlock;
use Symfony\Component\Notifier\Bridge\Slack\SlackOptions;
use Symfony\Component\Notifier\Message\ChatMessage;
Expand Down
0