INNER CODE UNIT · Python
start_translation_modal
seratch/ChatGPT-in-Slack · app/bolt_listeners.py:544
def start_translation_modal(
client: WebClient,
body: dict,
):
client.views_open(
trigger_id=body.get("trigger_id"),
view=build_translation_modal(body=body),
)
def ack_translation_modal_submission(
ack: Ack,
):
ack(
response_action="update",
view=build_translation_wip_modal(
"Got it! Working on the translation now ... :hourglass:"
),