Text

Makes a bot send a text message.

A message to send can be written in multiple languages.
Then, it will be displayed in the language that matches the client device's language settings.

Request content {#text-request}

common {#text-request-common}

ParameterTypeRequiredDescription
typestringYSet this parameter to "text".
textstringYMessage content
Maximum length: 2,000 characters

multi language {#text-request-multilang}

ParameterTypeRequiredDescription
i18nTexts[]arrayNList of multilingual text messages
i18nTexts[].languagestringYLanguage code
• ko_KR • ja_JP • zh_CN • zh_TW • en_US
i18nTexts[].textstringYMultilingual text message
Maximum length: 2,000 characters

Request example {#text-request-example}

example_text

simple {#text-request-example-simple}

{  "content": {    "type": "text",    "text": "hello"  }}

detail {#text-request-example-detail}

{  "content": {    "type": "text",    "text": "hello",    "i18nTexts": [{      "language": "ja_JP",      "text": "こんにちは"    }      "language": "ko_KR",      "text": "안녕하세요"    }]  }}