def call_req(obj_name, method, params):
    return {
        "type": "call_req",
        "obj_name": obj_name,
        "method": method,
        "params": params
    }
Construct message used when sending API calls to CtrlServer.
dataset/ETHPy150Open IEEERobotics/bot/bot/lib/messages.py/call_req