soulfire.bot_pb2.ServerDialog¶
- class soulfire.bot_pb2.ServerDialog(id: str | None = ..., type: DialogType | str | None = ..., title: str | None = ..., external_title: str | None = ..., body: collections.abc.Iterable[DialogBodyElement | collections.abc.Mapping] | None = ..., inputs: collections.abc.Iterable[DialogInput | collections.abc.Mapping] | None = ..., can_close_with_escape: bool = ..., pause: bool = ..., after_action: DialogAfterAction | str | None = ..., action: DialogButton | collections.abc.Mapping | None = ..., yes: DialogButton | collections.abc.Mapping | None = ..., no: DialogButton | collections.abc.Mapping | None = ..., actions: collections.abc.Iterable[DialogButton | collections.abc.Mapping] | None = ..., columns: int | None = ..., exit_action: DialogButton | collections.abc.Mapping | None = ..., button_width: int | None = ...)¶
Bases:
google.protobuf.message.MessageAbstract base class for protocol messages.
Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.
- ID_FIELD_NUMBER: ClassVar[int]¶
- TYPE_FIELD_NUMBER: ClassVar[int]¶
- TITLE_FIELD_NUMBER: ClassVar[int]¶
- EXTERNAL_TITLE_FIELD_NUMBER: ClassVar[int]¶
- BODY_FIELD_NUMBER: ClassVar[int]¶
- INPUTS_FIELD_NUMBER: ClassVar[int]¶
- CAN_CLOSE_WITH_ESCAPE_FIELD_NUMBER: ClassVar[int]¶
- PAUSE_FIELD_NUMBER: ClassVar[int]¶
- AFTER_ACTION_FIELD_NUMBER: ClassVar[int]¶
- ACTION_FIELD_NUMBER: ClassVar[int]¶
- YES_FIELD_NUMBER: ClassVar[int]¶
- NO_FIELD_NUMBER: ClassVar[int]¶
- ACTIONS_FIELD_NUMBER: ClassVar[int]¶
- COLUMNS_FIELD_NUMBER: ClassVar[int]¶
- EXIT_ACTION_FIELD_NUMBER: ClassVar[int]¶
- BUTTON_WIDTH_FIELD_NUMBER: ClassVar[int]¶
- id: str¶
- type: DialogType¶
- title: str¶
- external_title: str¶
- body: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[DialogBodyElement]¶
- inputs: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[DialogInput]¶
- can_close_with_escape: bool¶
- pause: bool¶
- after_action: DialogAfterAction¶
- action: DialogButton¶
- yes: DialogButton¶
- no: DialogButton¶
- actions: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[DialogButton]¶
- columns: int¶
- exit_action: DialogButton¶
- button_width: int¶