translate

class platypush.message.response.translate.TranslateResponse(translated_text: str, source_text: str, detected_source_language: str, *args, **kwargs)[source]
__init__(translated_text: str, source_text: str, detected_source_language: str, *args, **kwargs)[source]
Parameters
  • target (str) – Target

  • origin (str) – Origin

  • output – Output

  • errors – Errors

  • id (str) – Message ID this response refers to

  • timestamp (float) – Message timestamp