Skip to content

Commit

Permalink
Fix plain_text
Browse files Browse the repository at this point in the history
  • Loading branch information
cdupuis committed Aug 6, 2020
1 parent ad8dc98 commit f3d2800
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/SlackMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,10 +461,10 @@ export interface ChannelOptionElement extends Element {

export interface SlackModal {
type: "modal";
title: PlainTextElement;
title: PlainTextObject;
blocks: Block[];
close?: PlainTextElement;
submit?: PlainTextElement;
close?: PlainTextObject;
submit?: PlainTextObject;
private_metadata?: string;
callback_id?: string;
clear_on_close?: boolean;
Expand All @@ -474,14 +474,14 @@ export interface SlackModal {

export interface InputBlock extends Block {
type: "input";
label: PlainTextElement;
label: PlainTextObject;
element:
| PlainTextElement
| DatePickerElement
| StaticOptionElement
| UserOptionElement
| ConversationOptionElement
| ChannelOptionElement;
hint?: PlainTextElement;
hint?: PlainTextObject;
optional?: boolean;
}

0 comments on commit f3d2800

Please sign in to comment.