// Now Home tab is disabled // TODO Imple Home tab import type { ViewsPublishResponse, WebClient } from '@slack/web-api'; export const publishInitialHomeView = (client: WebClient, userId: string): Promise => { return client.views.publish({ user_id: userId, view: { type: 'home', blocks: [ { type: 'section', text: { type: 'mrkdwn', text: 'Welcome GROWI Official Bot Home', }, }, { type: 'section', text: { type: 'mrkdwn', text: 'Learn how to use GROWI Official bot.' // eslint-disable-next-line max-len + 'See .', }, }, ], }, }); };