3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

message_to_dp()

Definition

message_to_dp(event_name, strdata)

Features

After providing a message to the user, a response message is returned when a response message is received from the user.

Parameters

Parameter Name

Data Type

Default Value

Description

event_name

string

-

Eventname to provide to the user

  • event_name is limited to 256 bytes.

strdata

string

-

Data to be provided to users

  • strdata is limited to 3000 bytes.

Return

Value

Description

string

Event name entered when calling Dart-API (sendUserEventResponse)

string

strdata entered when calling Dart-API (sendUserEventResponse)

Exception

Exception

Description

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

DR_Error (DR_ERROR_VALUE)

Parameter value is invalid

DR_Error (DR_ERROR_RUNTIME)

C extension module error occurred

DR_Error (DR_ERROR_STOP)

Program terminated forcefully

Example

Python
tp_log('message send!')
event, data = message_to_dp('wait', 'true')
tp_log('message get!')

Keyword

message / dp / message_ / message_to