Class Option (0.7.4)

Option(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A single selectable option.

Attributes

Name Description
title str
Short plain-text option title (no markdown, no numbering).
details str
Optional trade-off details shown as secondary text.
submit_text str
Optional message text to send when the option is chosen; defaults to title when empty.