|
@@ -67,8 +67,8 @@ export class RegisterService implements GrowiCommandProcessor {
|
|
|
await client.chat.postEphemeral({
|
|
await client.chat.postEphemeral({
|
|
|
channel: payload.response_urls[0].channel_id,
|
|
channel: payload.response_urls[0].channel_id,
|
|
|
user: payload.user.id,
|
|
user: payload.user.id,
|
|
|
- // Recommended to include text to provide a fallback when using blocks
|
|
|
|
|
- // https://api.slack.com/methods/chat.postEphemeral#text_usage
|
|
|
|
|
|
|
+ // Recommended including 'text' to provide a fallback when using blocks
|
|
|
|
|
+ // refer to https://api.slack.com/methods/chat.postEphemeral#text_usage
|
|
|
text: 'Proxy URL',
|
|
text: 'Proxy URL',
|
|
|
blocks: [
|
|
blocks: [
|
|
|
generateMarkdownSectionBlock('Please enter and update the following Proxy URL to slack bot setting form in your GROWI'),
|
|
generateMarkdownSectionBlock('Please enter and update the following Proxy URL to slack bot setting form in your GROWI'),
|