#29 Advanced attachment

Closed
opened 8 years ago by isundil · 2 comments
isundil commented 8 years ago

Add following attachments:

  • field
  • action (button stuff)

Refs #6

Add following attachments: - [x] field - [x] action (button stuff) Refs #6
isundil commented 8 years ago
Owner

fields

Fields are defined as an array, and hashes contained within it will be displayed in a table inside the message attachment.

title

Shown as a bold heading above the value text. It cannot contain markup and will be escaped for you.

value

The text value of the field. It may contain standard message markup and must be escaped as normal. May be multi-line.

short (Boolean)

An optional flag indicating whether the value is short enough to be displayed side-by-side with other values.

## fields Fields are defined as an array, and hashes contained within it will be displayed in a table inside the message attachment. ### title Shown as a bold heading above the `value` text. It cannot contain markup and will be escaped for you. ### value The text value of the field. It may contain standard message markup and must be escaped as normal. May be multi-line. ### short (Boolean) An optional flag indicating whether the `value` is short enough to be displayed side-by-side with other values.
isundil referenced this issue from a commit 8 years ago
isundil commented 8 years ago
Owner

Missing button style (#9)

Missing button style (#9)
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.