class documentation

class TextAction(Protocol): (source)

View In Hierarchy

A TextAction is just like an Action, but it takes some text.

Async Method __call__ React to the action with the user's input.
async def __call__(__no_self__, /, self: NotificationT, text: str): (source) ΒΆ

React to the action with the user's input.