RPC: sendalert params types casting