ScriptMessageReply

Added in version 2.40.

class ScriptMessageReply(*args, **kwargs)

A reply for a script message received. If no reply has been sent by the user, an automatically generated reply with undefined value with be sent.

Methods

class ScriptMessageReply
return_error_message(error_message: str) None

Reply to a script message with an error message.

Added in version 2.40.

Parameters:

error_message – An error message to return as specified by the user’s script message

return_value(reply_value: Value) None

Reply to a script message with a value.

This function can be called twice for passing the reply value in.

Added in version 2.40.

Parameters:

reply_value – Reply value of the provided script message